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

Unified Diff: sdk/lib/_internal/js_runtime/lib/core_patch.dart

Issue 2931423002: Prepare for improved error recovery from compile-time errors. (Closed)
Patch Set: Rebased on 11f82b12d2fb4f2c323cbc5a25de9835cc8e5031 Created 3 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 | « runtime/lib/errors_patch.dart ('k') | sdk/lib/core/errors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/core_patch.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/core_patch.dart b/sdk/lib/_internal/js_runtime/lib/core_patch.dart
index 610c1caaa35fe2d7f2b8b9276cc6a547405ad974..135b2941cfac7cc66936e01f5a4896561edf7933 100644
--- a/sdk/lib/_internal/js_runtime/lib/core_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/core_patch.dart
@@ -746,3 +746,9 @@ _unresolvedTopLevelMethodError(receiver, memberName, positionalArguments,
return new NoSuchMethodError(
receiver, memberName, positionalArguments, namedArguments);
}
+
+@patch
+class _ConstantExpressionError {
+ @patch
+ _throw(error) => throw error;
+}
« no previous file with comments | « runtime/lib/errors_patch.dart ('k') | sdk/lib/core/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698