|
Rename RuntimeError to CyclicIntializationError, as per spec.
The RuntimeError has been used to report cyclic initialization errors in
dart2js.
It has also been used for other, unrelated, uses, where it makes
little to no sense.
The RuntimeError type has been removed, but added in js_helper.dart,
where dart2js uses it.
Uses of new RuntimeError("some message") have been converted to
other errors (Argument/State/Unsupported). In some cases, just
throwing a String might have been just as good.
BUG=http://dartbug.com/11040
R=johnniwinther@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23584
Total comments: 6
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+58 lines, -41 lines) |
Patch |
|
M |
runtime/bin/vmstats/bargraph.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/tests/vm/dart/isolate_unhandled_exception_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/tests/vm/dart/isolate_unhandled_exception_test2.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/tests/vm/dart/isolate_unhandled_exception_uri_helper.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/snapshot_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/snapshot_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
|
View
|
1
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/js_mirrors.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
6 comments
|
Download
|
|
M |
sdk/lib/core/errors.dart
|
View
|
1
|
1 chunk |
+12 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/isolate/global_error_handler2_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/global_error_handler_stream2_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/global_error_handler_stream_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/global_error_handler_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/language/lazy_static3_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/lib/async/run_async4_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/standalone/io/process_non_ascii_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/standalone/io/test_extension_fail_test.dart
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/standalone/io/test_extension_fail_tester.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/standalone/io/test_extension_tester.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/status_expression.dart
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|