summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/CompletionWithWrongFieldName.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests/type-errors/unit/CompletionWithWrongFieldName.txt')
-rw-r--r--dhall/tests/type-errors/unit/CompletionWithWrongFieldName.txt7
1 files changed, 7 insertions, 0 deletions
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 }
+ |