mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
This PR migrates most remaining tests to the new test suite. It also completes the migration of directories like `tests/lean/run`, meaning that PRs trying to add tests to those old directories will now fail.
15 lines
366 B
Lean4
15 lines
366 B
Lean4
/-!
|
||
The expected type used to show "unknown metavariable '?_uniq.31828'" because of missing
|
||
backtracking of the info tree.
|
||
-/
|
||
|
||
inductive Fam2 : Type → Type → Type 1 where
|
||
| any : Fam2 α α
|
||
| nat : Nat → Fam2 Nat Nat
|
||
|
||
example (a : α) (x : Fam2 α β) : β :=
|
||
match x with
|
||
| Fam2.any => _
|
||
--^ $/lean/plainTermGoal
|
||
| Fam2.nat n => n
|