lean4-htt/tests/elab_fail/holes.lean.out.expected
Garmelon 08eb78a5b2
chore: switch to new test/bench suite (#12590)
This PR sets up the new integrated test/bench suite. It then migrates
all benchmarks and some related tests to the new suite. There's also
some documentation and some linting.

For now, a lot of the old tests are left alone so this PR doesn't become
even larger than it already is. Eventually, all tests should be migrated
to the new suite though so there isn't a confusing mix of two systems.
2026-02-25 13:51:53 +00:00

33 lines
1.2 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

holes.lean:4:4-4:7: error: A placeholder `_` cannot be used where a function is expected
holes.lean:11:8-11:13: error: don't know how to synthesize placeholder
context:
case hole
x : Nat
y : Nat := g x + g x
⊢ Nat
holes.lean:11:4-11:5: error: don't know how to synthesize placeholder
context:
x : Nat
y : Nat := ⋯
⊢ Nat
holes.lean:10:15-10:18: error: don't know how to synthesize implicit argument `β`
@g Nat (?m x) x
context:
x : Nat
⊢ Type
holes.lean:10:9-10:12: error: don't know how to synthesize implicit argument `β`
@g Nat (?m x) x
context:
x : Nat
⊢ Type
holes.lean:13:10-13:11: error(lean.inferBinderTypeFailed): Failed to infer type of binder `β`
holes.lean:15:12-15:13: error(lean.inferBinderTypeFailed): Failed to infer type of binder `β`
holes.lean:19:0-19:3: error: don't know how to synthesize implicit argument `β`
@f Nat (?m a) a
context:
a : Nat
f : {α : Type} → {β : ?m a} → αα := ⋯
⊢ ?m a
holes.lean:18:9-18:10: error(lean.inferBinderTypeFailed): Failed to infer type of binder `β`
holes.lean:21:12-21:14: error(lean.inferDefTypeFailed): Failed to infer type of definition `f7`
holes.lean:25:8-25:11: error: failed to infer 'let rec' declaration type