This PR modifies the pretty printing of anonymous metavariables to use the index rather than the internal name. This leads to smaller numerical suffixes in `?m.123` since the indices are numbered within a given metavariable context rather than across an entire file, hence each command gets its own numbering. This does not yet affect pretty printing of universe level metavariables. For debugging purposes, metavariables that are not defined now pretty print as `?_mvar.123` rather than cause pretty printing to fail.
24 lines
398 B
Text
24 lines
398 B
Text
/--
|
|
error: Invalid projection: Type of
|
|
x✝
|
|
is not known; cannot resolve projection `1`
|
|
---
|
|
error: unsolved goals
|
|
case refine'_1
|
|
⊢ Sort ?u.8
|
|
|
|
case refine'_2
|
|
⊢ Sort ?u.7
|
|
|
|
case refine'_3
|
|
⊢ ?refine'_1
|
|
|
|
case refine'_4
|
|
⊢ ?refine'_1
|
|
|
|
case refine'_5
|
|
⊢ ¬(fun x => ?m.9) ?refine'_3 = (fun x => ?m.9) ?refine'_4
|
|
-/
|
|
#guard_msgs in
|
|
example : False := by
|
|
refine' absurd (congrArg (·.1) sorry) _
|