From bde4104d061ab87d4af85a083c549ae174797710 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Tue, 4 Feb 2020 18:18:27 +0000 Subject: Add basic pretty type errors to all errors --- dhall/tests/type-errors/unit/AnnotationRecordWrongFieldType.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dhall/tests/type-errors/unit/AnnotationRecordWrongFieldType.txt') diff --git a/dhall/tests/type-errors/unit/AnnotationRecordWrongFieldType.txt b/dhall/tests/type-errors/unit/AnnotationRecordWrongFieldType.txt index 89817db..e67edb8 100644 --- a/dhall/tests/type-errors/unit/AnnotationRecordWrongFieldType.txt +++ b/dhall/tests/type-errors/unit/AnnotationRecordWrongFieldType.txt @@ -1 +1,6 @@ -Type error: Unhandled error: annot mismatch: ({ x = 1 } : { x : Natural }) : { x : Text } +Type error: error: annot mismatch: ({ x = 1 } : { x : Natural }) : { x : Text } + --> :1:0 + | +1 | { x = 1 } : { x : Text } + | ^^^^^^^^^^^^^^^^^^^^^^^^ annot mismatch: ({ x = 1 } : { x : Natural }) : { x : Text } + | -- cgit v1.2.3