Skip to content

Commit

Permalink
Add forgotten test outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Feb 6, 2020
1 parent ce289ae commit 5abc062
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Type error: error: annot mismatch: (Example.default ⫽ {=} : { id : Optional Natural }) : { id : Optional Natural, name : Text }
--> <current file>:1:4
|
...
6 | in Example::{=}
| ^^^^^^^^^^^^ annot mismatch: (Example.default ⫽ {=} : { id : Optional Natural }) : { id : Optional Natural, name : Text }
|
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Type error: error: annot mismatch: (Example.default ⫽ {=} : { id : Optional Natural, name : Bool }) : { id : Optional Natural, name : Text }
--> <current file>:1:4
|
...
6 | in Example::{=}
| ^^^^^^^^^^^^ annot mismatch: (Example.default ⫽ {=} : { id : Optional Natural, name : Bool }) : { id : Optional Natural, name : Text }
|
7 changes: 7 additions & 0 deletions dhall/tests/type-errors/unit/CompletionWithWrongFieldName.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Type error: error: annot mismatch: (Example.default ⫽ { nam = "John Doe" } : { id : Optional Natural, nam : Text, name : Text }) : { id : Optional Natural, name : Text }
--> <current file>:1:4
|
...
6 | in Example::{ nam = "John Doe" }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ annot mismatch: (Example.default ⫽ { nam = "John Doe" } : { id : Optional Natural, nam : Text, name : Text }) : { id : Optional Natural, name : Text }
|
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Type error: error: annot mismatch: (Example.default ⫽ { name = True } : { id : Optional Natural, name : Bool }) : { id : Optional Natural, name : Text }
--> <current file>:1:4
|
...
6 | in Example::{ name = True }
| ^^^^^^^^^^^^^^^^^^^^^^^^ annot mismatch: (Example.default ⫽ { name = True } : { id : Optional Natural, name : Bool }) : { id : Optional Natural, name : Text }
|
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Type error: error: ProjectionWrongType
--> <current file>:1:0
|
1 | { y = {=} }.( {y : Natural} )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ProjectionWrongType
|
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Type error: error: ProjectionMissingEntry
--> <current file>:1:0
|
1 | { y = {=} }.( {x : Natural} )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ProjectionMissingEntry
|

0 comments on commit 5abc062

Please sign in to comment.