Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2837)

Unified Diff: dart_vm_standalone/_internal_patch.dart

Issue 2108193002: Change error handling. (Closed) Base URL: git@github.com:dart-lang/rasta.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dart_vm_standalone/core_patch.dart » ('j') | dart_vm_standalone/rasta_errors.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart_vm_standalone/_internal_patch.dart
diff --git a/dart_vm_standalone/_internal_patch.dart b/dart_vm_standalone/_internal_patch.dart
index 593b516a7131c999ea9d97fd9f29bc7d84eb3d94..dc44475d3c8b541211c1babf02f50ff0e01b8ff6 100644
--- a/dart_vm_standalone/_internal_patch.dart
+++ b/dart_vm_standalone/_internal_patch.dart
@@ -11,13 +11,3 @@ part '../third_party/dart-sdk/runtime/lib/internal_patch.dart';
part '../third_party/dart-sdk/runtime/lib/print_patch.dart';
part '../third_party/dart-sdk/runtime/lib/symbol_patch.dart';
part '_internal/class_id.dart';
-
-_dynamicError(int errorKind) {
- switch (errorKind) {
- case 0:
- return (String message) => new TypeError();
-
- default:
- throw "Unknown error";
- }
-}
« no previous file with comments | « no previous file | dart_vm_standalone/core_patch.dart » ('j') | dart_vm_standalone/rasta_errors.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698