File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,11 @@ quint typecheck ./testFixture/TrivialTypeError.qnt 2> >(sed "s:$(pwd):.:" >&2)
138
138
139
139
<!-- !test err typecheck failure gives non-zero exit -->
140
140
```
141
- ./testFixture/TrivialTypeError.qnt:2:3 - error: [QNT000] Couldn't unify str and int
141
+ ./testFixture/TrivialTypeError.qnt:2:17 - error: [QNT000] Couldn't unify str and int
142
142
Trying to unify str and int
143
143
144
144
2: val x : int = "not an int"
145
- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^
145
+ ^^^^^^^^^^^^
146
146
147
147
error: typechecking failed
148
148
```
@@ -1032,11 +1032,11 @@ quint typecheck ./testFixture/typechecking/ImportFileWithError.qnt 2>&1 | sed 's
1032
1032
1033
1033
<!-- !test out error for file -->
1034
1034
```
1035
- HOME/testFixture/typechecking/FileWithError.qnt:2:3 - error: [QNT000] Couldn't unify bool and int
1035
+ HOME/testFixture/typechecking/FileWithError.qnt:2:16 - error: [QNT000] Couldn't unify bool and int
1036
1036
Trying to unify bool and int
1037
1037
1038
1038
2: val a: int = true
1039
- ^^^^^^^^^^^^^ ^^^^
1039
+ ^^^^
1040
1040
1041
1041
error: typechecking failed
1042
1042
```
You can’t perform that action at this time.
0 commit comments