DescriptionThrow Error on unreachable code rather than throwing a String.
Still under a 'flag'.
Enable with:
DART_VM_OPTIONS=-Dunreachable-throw=true <compile>
These tests fail with an [empty] input to createRuntimeType.
DART_VM_OPTIONS=-Dunreachable-throw=true tools/test.py -mrelease -cdart2js -rd8 dart2js_extra/deferred/deferred_mirrors1_test
DART_VM_OPTIONS=-Dunreachable-throw=true tools/test.py -mrelease -cdart2js -rd8 dart2js_extra/mirrors_used_warning2_test
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/d0c00d2b61a2a8a32c87ac24d333e21ace87df20
Patch Set 1 : #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 7 (3 generated)
|