-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(checker): reduce error noise (#285)
- Loading branch information
Showing
9 changed files
with
44 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
a := 1 | ||
a := b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tests/out/error/assign/twice_ident.in.bt:2:1 error: redefinition of `a` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
tests/out/error/fun/param_redefine.in.bt:2:2 error: redefinition of p | ||
tests/out/error/fun/param_redefine.in.bt:2:2 error: redefinition of `p` | ||
tests/out/error/fun/param_redefine.in.bt:5:16 error: redefinition of a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
tests/out/error/ident/redef.in.bt:3:2 error: redefinition of same | ||
tests/out/error/ident/redef.in.bt:6:3 error: redefinition of same | ||
tests/out/error/ident/redef.in.bt:11:2 error: redefinition of my_fun | ||
tests/out/error/ident/redef.in.bt:3:2 error: redefinition of `same` | ||
tests/out/error/ident/redef.in.bt:6:3 error: redefinition of `same` | ||
tests/out/error/ident/redef.in.bt:11:2 error: redefinition of `my_fun` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
tests/out/error/index/invalid_index.in.bt:3:8 error: non-integer index `bool` | ||
tests/out/error/index/invalid_index.in.bt:4:8 error: non-integer index `f64` | ||
tests/out/error/index/invalid_index.in.bt:5:8 error: non-integer index `string` | ||
tests/out/error/index/invalid_index.in.bt:9:6 error: non-integer index `[]i32` | ||
tests/out/error/index/invalid_index.in.bt:10:6 error: non-integer index `u8` | ||
tests/out/error/index/invalid_index.in.bt:16:10 error: invalid map index `i32`, expected `string` | ||
tests/out/error/index/invalid_index.in.bt:6:9 error: undefined ident `badvar` | ||
tests/out/error/index/invalid_index.in.bt:10:6 error: non-integer index `[]i32` | ||
tests/out/error/index/invalid_index.in.bt:11:6 error: non-integer index `u8` | ||
tests/out/error/index/invalid_index.in.bt:12:7 error: undefined ident `badvar` | ||
tests/out/error/index/invalid_index.in.bt:18:10 error: invalid map index `i32`, expected `string` | ||
tests/out/error/index/invalid_index.in.bt:20:11 error: undefined ident `badvar` |