c16951aba6
The new test '../../tests/lean/run/alias3.lean' demonstrates the issue being fixed. Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
26 lines
373 B
Text
26 lines
373 B
Text
import logic
|
|
|
|
namespace N1
|
|
section
|
|
section
|
|
variable A : Type
|
|
definition foo (a : A) : Bool := true
|
|
check foo
|
|
end
|
|
check foo
|
|
end
|
|
check foo
|
|
end
|
|
check N1.foo
|
|
|
|
namespace N2
|
|
section
|
|
parameter A : Type
|
|
inductive list : Type :=
|
|
| nil {} : list
|
|
| cons : A → list → list
|
|
check list
|
|
end
|
|
check list
|
|
end
|
|
check N2.list
|