lean4-htt/tests/lean/run/1373.lean
Leonardo de Moura e68e448070 fix: convert inductive type instance implicit parameters to implicit when building SizeOf instance
It is better for TC resolution since the parameter can be inferred by
typing constraints, and it addresses issue #1373
2022-07-26 12:42:47 -07:00

4 lines
86 B
Text

class Foo (d: Nat)
inductive Bar [i: ∀ d', d ≤ d' → Foo d']
| mk: Bar (i:=i)