lean2/tests/lean/error_full_names.lean
2014-12-23 17:42:56 -08:00

9 lines
165 B
Text

namespace foo
open nat
inductive nat : Type := zero, foosucc : nat → nat
check 0 + nat.zero --error
end foo
namespace foo
check nat.succ nat.zero --error
end foo