-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
display constant with unverse levels at error
- Loading branch information
Showing
3 changed files
with
67 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
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,57 @@ | ||
univErrorMessages.lean:7:6-7:7: error: failed to infer 'let' declaration type | ||
univErrorMessages.lean:6:11-6:14: error: don't know how to synthesize implicit argument | ||
@List.nil ?m | ||
context: | ||
⊢ Type ?u | ||
univErrorMessages.lean:7:11-7:13: error: don't know how to synthesize implicit argument | ||
@List.nil ?m | ||
context: | ||
x : Array ?m := #[] | ||
⊢ Type ?u | ||
univErrorMessages.lean:6:11-6:14: error: don't know how to synthesize implicit argument | ||
@List.toArray ?m [] | ||
context: | ||
⊢ Type ?u | ||
univErrorMessages.lean:6:6-6:7: error: failed to infer 'let' declaration type | ||
univErrorMessages.lean:7:11-7:13: error: don't know how to synthesize universe level parameter u of 'List.nil' | ||
univErrorMessages.lean:6:11-6:14: error: don't know how to synthesize universe level parameter u of 'List.nil' | ||
univErrorMessages.lean:6:11-6:14: error: don't know how to synthesize universe level parameter u_1 of 'List.toArray' | ||
univErrorMessages.lean:11:25-11:28: error: don't know how to synthesize implicit argument | ||
@List.nil ?m | ||
context: | ||
⊢ Type ?u | ||
univErrorMessages.lean:12:21-12:22: error: don't know how to synthesize placeholder for argument 'α' | ||
context: | ||
x : Array ?m := #[] | ||
⊢ Type (?u + 1) | ||
univErrorMessages.lean:12:26-12:28: error: don't know how to synthesize implicit argument | ||
@List.nil ?m | ||
context: | ||
x : Array ?m := #[] | ||
⊢ Type (?u + 1) | ||
univErrorMessages.lean:11:20-11:21: error: don't know how to synthesize placeholder for argument 'α' | ||
context: | ||
⊢ Type ?u | ||
univErrorMessages.lean:11:25-11:28: error: don't know how to synthesize implicit argument | ||
@List.toArray ?m [] | ||
context: | ||
⊢ Type ?u | ||
univErrorMessages.lean:12:26-12:28: error: don't know how to synthesize universe level parameter u of 'List.nil' | ||
univErrorMessages.lean:12:16-12:17: error: don't know how to synthesize universe level placeholder ?u | ||
univErrorMessages.lean:11:25-11:28: error: don't know how to synthesize universe level parameter u of 'List.nil' | ||
univErrorMessages.lean:11:25-11:28: error: don't know how to synthesize universe level parameter u_1 of 'List.toArray' | ||
univErrorMessages.lean:11:17-11:18: error: don't know how to synthesize universe level placeholder ?u | ||
univErrorMessages.lean:16:21-16:38: error: don't know how to synthesize implicit argument | ||
@id (Array ?m) { data := [] } | ||
context: | ||
⊢ Type ?u | ||
univErrorMessages.lean:16:34-16:36: error: don't know how to synthesize implicit argument | ||
@List.nil ?m | ||
context: | ||
⊢ Type ?u | ||
univErrorMessages.lean:16:16-16:17: error: don't know how to synthesize placeholder for argument 'α' | ||
context: | ||
⊢ Type ?u | ||
univErrorMessages.lean:16:34-16:36: error: don't know how to synthesize universe level parameter u of 'List.nil' | ||
univErrorMessages.lean:16:21-16:23: error: don't know how to synthesize universe level parameter u of 'id' | ||
univErrorMessages.lean:16:10-16:15: error: don't know how to synthesize universe level parameter u of 'Array' |