lean4-htt/tests/lean/run/1649b.lean
Leonardo de Moura 748eb856c3 fix(frontends/lean): fixes #1649
This issue is yet another reason for refactoring how parameters are
represented in Lean.
2017-06-06 21:33:24 -07:00

13 lines
311 B
Text

section
parameter n : false
def blah (n : false) : false := n
#check @blah -- blah : false
end
#check @blah -- blah : false
theorem fs : false → false := blah -- failed to add declaration to environment, it contains local constants
#print blah -- error: invalid #print command (reported at a line below)