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; |
+} |