lean4-htt/tests/lean/634.lean
Leonardo de Moura 6e57e70d04 fix(frontends/lean/pp): pretty print issue, and fix broken tests output
Remark: we do not allow user to access abstracted version anymore inside
of a section.
2016-12-15 15:42:54 -08:00

17 lines
293 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

open nat
namespace foo
section
parameter (X : Type)
definition A {n : } : Type := X
variable {n : }
set_option pp.implicit true
check @A n
set_option pp.full_names true
check @foo.A n
check @A n
set_option pp.full_names false
check @foo.A n
check @A n
end
end foo