-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3442d05
commit 397a6f6
Showing
1 changed file
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
NotClassCall: | ||
In file $FILE:1:31 -> | ||
|
||
1 │ def what (A : Type) : A => new A | ||
│ ╰╯ | ||
|
||
Error: Unable to new a non-class type: `A` | ||
|
||
1 error(s), 0 warning(s). | ||
Let's learn from that. | ||
|
||
NotFullyApplied: | ||
In file $FILE:5:28 -> | ||
|
||
3 │ | walue : Nat | ||
4 │ | ||
5 │ def what : Kontainer => new Kontainer | ||
│ ╰───────╯ | ||
|
||
Error: Unable to new an incomplete class type: `Kontainer` | ||
|
||
1 error(s), 0 warning(s). | ||
Let's learn from that. | ||
|