Description[kernel] Make fasta call a new constructor on FallThroughError
On a switch fall through error, Fasta currently generates
```
throw new core::FallThroughError::•();
```
which generates the error-message via the VM:
```
'null': Switch case fall-through at line null.
```
This introduces a new constructor taking a url and a linenumber,
which then can give a better error message.
BUG=
R=ahe@google.com
Committed: https://github.com/dart-lang/sdk/commit/be9a3043aaa64ded865b0cacececf4d3a6ddb965
Patch Set 1 #
Total comments: 8
Patch Set 2 : Addressed comments #
Messages
Total messages: 8 (2 generated)
|