lean4-htt/tests/lean/error_full_names.lean
Daniel Selsam a9b01991c2 feat(frontends/lean/inductive_cmd): new frontend for the inductive cmd
Conflicts:
	src/frontends/lean/CMakeLists.txt
	src/frontends/lean/structure_cmd.h
2016-08-17 07:34:03 -07:00

9 lines
164 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