forked from leanprover/lean4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
variable
must execute pending tactics and elaboration problems (…
…leanprover#4370) closes leanprover#2226 closes leanprover#3214
- Loading branch information
1 parent
ba97928
commit 0a0f1d7
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/-- | ||
error: unsolved goals | ||
A : Nat | ||
⊢ Sort ?u.3 | ||
-/ | ||
#guard_msgs in | ||
variable (A : Nat) (B : by skip) | ||
|
||
def foo := | ||
A = B | ||
|
||
def boo := | ||
B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
class Foo (α : Type) | ||
|
||
/-- | ||
error: function expected at | ||
Missing | ||
term has type | ||
?m.9 | ||
-/ | ||
#guard_msgs in | ||
variable {α : Type} (s : Missing α) | ||
|
||
#synth Foo s |