diff options
author | Nadrieril | 2020-02-06 18:09:02 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-06 18:09:02 +0000 |
commit | 5abc0628058a318782c46614d943c034711845c6 (patch) | |
tree | f7de4e5c8e1cf5b9a394ca020eed859f402e2152 /dhall | |
parent | ce289aeb3db3085a327e3a509f69edcea0f86be0 (diff) |
Add forgotten test outputs
Diffstat (limited to '')
6 files changed, 40 insertions, 0 deletions
diff --git a/dhall/tests/type-errors/unit/CompletionMissingRequiredField.txt b/dhall/tests/type-errors/unit/CompletionMissingRequiredField.txt new file mode 100644 index 0000000..d0a9a01 --- /dev/null +++ b/dhall/tests/type-errors/unit/CompletionMissingRequiredField.txt @@ -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 } + | diff --git a/dhall/tests/type-errors/unit/CompletionWithWrongDefaultType.txt b/dhall/tests/type-errors/unit/CompletionWithWrongDefaultType.txt new file mode 100644 index 0000000..d4639e9 --- /dev/null +++ b/dhall/tests/type-errors/unit/CompletionWithWrongDefaultType.txt @@ -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 } + | diff --git a/dhall/tests/type-errors/unit/CompletionWithWrongFieldName.txt b/dhall/tests/type-errors/unit/CompletionWithWrongFieldName.txt new file mode 100644 index 0000000..0839742 --- /dev/null +++ b/dhall/tests/type-errors/unit/CompletionWithWrongFieldName.txt @@ -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 } + | diff --git a/dhall/tests/type-errors/unit/CompletionWithWrongOverridenType.txt b/dhall/tests/type-errors/unit/CompletionWithWrongOverridenType.txt new file mode 100644 index 0000000..7edef95 --- /dev/null +++ b/dhall/tests/type-errors/unit/CompletionWithWrongOverridenType.txt @@ -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 } + | diff --git a/dhall/tests/type-errors/unit/RecordProjectionByTypeFieldTypeMismatch.txt b/dhall/tests/type-errors/unit/RecordProjectionByTypeFieldTypeMismatch.txt new file mode 100644 index 0000000..d624075 --- /dev/null +++ b/dhall/tests/type-errors/unit/RecordProjectionByTypeFieldTypeMismatch.txt @@ -0,0 +1,6 @@ +Type error: error: ProjectionWrongType + --> <current file>:1:0 + | +1 | { y = {=} }.( {y : Natural} ) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ProjectionWrongType + | diff --git a/dhall/tests/type-errors/unit/RecordProjectionByTypeNotPresent.txt b/dhall/tests/type-errors/unit/RecordProjectionByTypeNotPresent.txt new file mode 100644 index 0000000..c22c2c4 --- /dev/null +++ b/dhall/tests/type-errors/unit/RecordProjectionByTypeNotPresent.txt @@ -0,0 +1,6 @@ +Type error: error: ProjectionMissingEntry + --> <current file>:1:0 + | +1 | { y = {=} }.( {x : Natural} ) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ProjectionMissingEntry + | |