-
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use better error position for null_pos uncaught exceptions
closes #11788
- Loading branch information
Showing
11 changed files
with
21 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
Uncaught exception Invalid string | ||
Main.hx:5: characters 3-18 : Called from here | ||
Main.hx:5: characters 3-18 : Uncaught exception Invalid string |
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 @@ | ||
Uncaught exception Invalid string | ||
Main.hx:5: characters 3-18 : Called from here | ||
Main.hx:5: characters 3-18 : Uncaught exception Invalid string |
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,10 +1,5 @@ | ||
[ERROR] (unknown position) | ||
|
||
| Uncaught exception Invalid string | ||
|
||
-> Main.hx:5: characters 3-18 | ||
|
||
5 | data.toString().substr(0); | ||
| ^^^^^^^^^^^^^^^ | ||
| Called from here | ||
[ERROR] Main.hx:5: characters 3-18 | ||
|
||
5 | data.toString().substr(0); | ||
| ^^^^^^^^^^^^^^^ | ||
| Uncaught exception Invalid string |
3 changes: 1 addition & 2 deletions
3
tests/misc/projects/Issue10844/user-defined-define-json-fail.hxml.stderr
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,2 @@ | ||
(unknown) : Uncaught exception Could not read file define.jsno | ||
$$normPath(::std::)/haxe/macro/Compiler.hx:401: characters 11-39 : Called from here | ||
$$normPath(::std::)/haxe/macro/Compiler.hx:401: characters 11-39 : Uncaught exception Could not read file define.jsno | ||
(unknown) : Called from here |
3 changes: 1 addition & 2 deletions
3
tests/misc/projects/Issue10844/user-defined-meta-json-fail.hxml.stderr
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,2 @@ | ||
(unknown) : Uncaught exception Could not read file meta.jsno | ||
$$normPath(::std::)/haxe/macro/Compiler.hx:390: characters 11-39 : Called from here | ||
$$normPath(::std::)/haxe/macro/Compiler.hx:390: characters 11-39 : Uncaught exception Could not read file meta.jsno | ||
(unknown) : Called from here |
3 changes: 1 addition & 2 deletions
3
tests/misc/projects/Issue10844/user-defined-meta-json-indent-fail.hxml.stderr
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,2 @@ | ||
(unknown) : Uncaught exception Could not read file meta.jsno | ||
$$normPath(::std::)/haxe/macro/Compiler.hx:390: characters 11-39 : Called from here | ||
$$normPath(::std::)/haxe/macro/Compiler.hx:390: characters 11-39 : Uncaught exception Could not read file meta.jsno | ||
(unknown) : Called from here |
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,2 @@ | ||
Main.hx:3: characters 3-20 : Uncaught exception Could not find macro function "oh no" | ||
Main.hx:7: characters 3-40 : Called from here | ||
Main.hx:7: characters 3-40 : Uncaught exception Could not find macro function "oh no" | ||
Main.hx:3: characters 3-20 : Called from here |
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