diff options
Diffstat (limited to 'dhall/tests/type-inference/failure/unit/MergeEmptyNeedsDirectAnnotation2.txt')
-rw-r--r-- | dhall/tests/type-inference/failure/unit/MergeEmptyNeedsDirectAnnotation2.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/failure/unit/MergeEmptyNeedsDirectAnnotation2.txt b/dhall/tests/type-inference/failure/unit/MergeEmptyNeedsDirectAnnotation2.txt new file mode 100644 index 0000000..5dcffdf --- /dev/null +++ b/dhall/tests/type-inference/failure/unit/MergeEmptyNeedsDirectAnnotation2.txt @@ -0,0 +1,6 @@ +Type error: error: MergeEmptyNeedsAnnotation + --> <current file>:1:26 + | +1 | \(x: <>) -> let y: Bool = merge {=} x in 1 + | ^^^^^^^^^^^ MergeEmptyNeedsAnnotation + | |