lean2/tests/lean/alias2.lean

12 lines
183 B
Text
Raw Normal View History

import logic
namespace foo
definition t := true
end foo
open foo
namespace bla
definition t := false
check foo.t -- <<< must print foo.t : Prop instead of t : Prop
end bla