lean4-htt/tests/lean/1682.lean
Leonardo de Moura ee603ab741 feat: sort refine new goals using the order they were created
Potential problem: if elaboration of subterms is delayed the order the new metavariables are created may not match the order they
appear in the `.lean` file. We should tell users to prefer tagged goals.

closes #1682
2022-10-04 06:54:14 -07:00

5 lines
118 B
Text

example : (p → q) ∧ r := by
refine ⟨?a, ?b⟩
example : (p → q) ∧ r := by
refine ⟨fun h => ?a, ?b⟩