fix(tests/lean/ctx_error_msgs): avoid internal ids

This commit is contained in:
Leonardo de Moura 2016-09-28 20:45:24 -07:00
parent 4a5d881c50
commit 01aebdf818
2 changed files with 7 additions and 9 deletions

View file

@ -1,7 +1,5 @@
open tactic
set_option pp.locals_full_names true
example (f : nat) (a : nat) : true :=
by do
f ← get_local `f,

View file

@ -1,22 +1,22 @@
ctx_error_msgs.lean:6:0: error: infer type failed, function expected at
<f.1.16.0> <a.1.16.1>
ctx_error_msgs.lean:4:0: error: infer type failed, function expected at
f a
term
<f.1.16.0>
f
has type
state:
f a :
⊢ true
ctx_error_msgs.lean:13:0: error: infer type failed, unknown variable
<a.1.16.324>
ctx_error_msgs.lean:11:0: error: infer type failed, unknown variable
a
state:
⊢ true
ctx_error_msgs.lean:20:0: error: infer type failed, incorrect number of universe levels
ctx_error_msgs.lean:18:0: error: infer type failed, incorrect number of universe levels
eq
state:
a :
⊢ true
ctx_error_msgs.lean:25:0: error: infer type failed, incorrect number of universe levels
ctx_error_msgs.lean:23:0: error: infer type failed, incorrect number of universe levels
eq.{0 0}
state:
a :