-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport PR #12759: [vernac] refine check for unresolved evars
- Loading branch information
Showing
4 changed files
with
43 additions
and
10 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
File "stdin", line 8, characters 5-22: | ||
Error: Cannot infer field y2p of record point2d in environment: | ||
p : point2d | ||
|
||
The command has indeed failed with message: | ||
The following term contains unresolved implicit arguments: | ||
(fun p : point2d => {| x2p := x2p p + 1; y2p := ?y2p |}) | ||
More precisely: | ||
- ?y2p: Cannot infer field y2p of record point2d in environment: | ||
p : point2d | ||
The command has indeed failed with message: | ||
The following term contains unresolved implicit arguments: | ||
(fun p : point2d => {| x2p := x2p p + (fun n : nat => ?n) 1; y2p := ?y2p |}) | ||
More precisely: | ||
- ?n: Cannot infer this placeholder of type "nat" in | ||
environment: | ||
p : point2d | ||
n : nat | ||
- ?y2p: Cannot infer field y2p of record point2d in environment: | ||
p : point2d |
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
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