-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue with the error message not including the source location…
… and position during function dispatch PiperOrigin-RevId: 721471017
- Loading branch information
1 parent
4db3123
commit 3c24524
Showing
36 changed files
with
246 additions
and
209 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
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
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
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,41 +1,41 @@ | ||
Source: 9223372036854775807 + 1 | ||
=====> | ||
bindings: {} | ||
error: evaluation error: long overflow | ||
error: evaluation error at test_location:20: long overflow | ||
error_code: NUMERIC_OVERFLOW | ||
|
||
Source: -9223372036854775808 - 1 | ||
=====> | ||
bindings: {} | ||
error: evaluation error: long overflow | ||
error: evaluation error at test_location:21: long overflow | ||
error_code: NUMERIC_OVERFLOW | ||
|
||
Source: -(-9223372036854775808) | ||
=====> | ||
bindings: {} | ||
error: evaluation error: long overflow | ||
error: evaluation error at test_location:0: long overflow | ||
error_code: NUMERIC_OVERFLOW | ||
|
||
Source: 5000000000 * 5000000000 | ||
=====> | ||
bindings: {} | ||
error: evaluation error: long overflow | ||
error: evaluation error at test_location:11: long overflow | ||
error_code: NUMERIC_OVERFLOW | ||
|
||
Source: (-9223372036854775808)/-1 | ||
=====> | ||
bindings: {} | ||
error: evaluation error: most negative number wraps | ||
error: evaluation error at test_location:22: most negative number wraps | ||
error_code: NUMERIC_OVERFLOW | ||
|
||
Source: 1 / 0 | ||
=====> | ||
bindings: {} | ||
error: evaluation error: / by zero | ||
error: evaluation error at test_location:2: / by zero | ||
error_code: DIVIDE_BY_ZERO | ||
|
||
Source: 1 % 0 | ||
=====> | ||
bindings: {} | ||
error: evaluation error: / by zero | ||
error_code: DIVIDE_BY_ZERO | ||
error: evaluation error at test_location:2: / by zero | ||
error_code: DIVIDE_BY_ZERO |
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,29 +1,29 @@ | ||
Source: 18446744073709551615u + 1u | ||
=====> | ||
bindings: {} | ||
error: evaluation error: range overflow on unsigned addition | ||
error: evaluation error at test_location:22: range overflow on unsigned addition | ||
error_code: NUMERIC_OVERFLOW | ||
|
||
Source: 0u - 1u | ||
=====> | ||
bindings: {} | ||
error: evaluation error: unsigned subtraction underflow | ||
error: evaluation error at test_location:3: unsigned subtraction underflow | ||
error_code: NUMERIC_OVERFLOW | ||
|
||
Source: 5000000000u * 5000000000u | ||
=====> | ||
bindings: {} | ||
error: evaluation error: multiply out of unsigned integer range | ||
error: evaluation error at test_location:12: multiply out of unsigned integer range | ||
error_code: NUMERIC_OVERFLOW | ||
|
||
Source: 1u / 0u | ||
=====> | ||
bindings: {} | ||
error: evaluation error: / by zero | ||
error: evaluation error at test_location:3: / by zero | ||
error_code: DIVIDE_BY_ZERO | ||
|
||
Source: 1u % 0u | ||
=====> | ||
bindings: {} | ||
error: evaluation error: / by zero | ||
error_code: DIVIDE_BY_ZERO | ||
error: evaluation error at test_location:3: / by zero | ||
error_code: DIVIDE_BY_ZERO |
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,11 @@ | ||
Source: bool('TrUe') | ||
=====> | ||
bindings: {} | ||
error: evaluation error at test_location:4: Type conversion error from 'string' to 'bool': [TrUe] | ||
error_code: BAD_FORMAT | ||
|
||
Source: bool('FaLsE') | ||
=====> | ||
bindings: {} | ||
error: evaluation error at test_location:4: Type conversion error from 'string' to 'bool': [FaLsE] | ||
error_code: BAD_FORMAT |
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
Oops, something went wrong.