lean2/tests/lean/t5.lean
2014-08-07 16:59:08 -07:00

13 lines
247 B
Text

variable N : Type.{1}
variable f : N → N
variable a : N
definition g (a : N) : N := f a
check g
namespace foo
definition h : N := f a
check h
definition q [private] : N := f a
check q
end foo
check foo.h
check q -- Error q is now hidden