lean2/tests/lean/bad_pattern.lean.expected.out
2015-12-07 12:32:22 -08:00

17 lines
522 B
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.

bad_pattern.lean:9:33: error: invalid pattern hint, pattern hints must be applications
theorem tst₀ [forward] : ∀ (x : ), P x :=
sorry
(multi-)patterns:
?M_1 :
{P ?M_1}
theorem tst₁ [forward] : ∀ (x : ), (:P x:) :=
sorry
(multi-)patterns:
?M_1 :
{P ?M_1}
theorem tst₃ [forward] : ∀ (x : ), P (:id x:) :=
sorry
(multi-)patterns:
?M_1 :
{P ?M_1}
bad_pattern.lean:20:0: error: pattern inference failed for [forward] annotation, (solution: provide pattern hints using the notation '(: t :)' )