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

Unified Diff: pkg/compiler/lib/src/common_elements.dart

Issue 2896393003: Remove factory body in *.fromEnvironment, and implement this same behavior (Closed)
Patch Set: turn warning into a hint Created 3 years, 7 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 | pkg/compiler/lib/src/diagnostics/messages.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common_elements.dart
diff --git a/pkg/compiler/lib/src/common_elements.dart b/pkg/compiler/lib/src/common_elements.dart
index 5a74caf27d6215f903612eccdc2f54ab8183fb95..0be5f204f1ea44b4a89b9a9b4d6dfd7c38bb9392 100644
--- a/pkg/compiler/lib/src/common_elements.dart
+++ b/pkg/compiler/lib/src/common_elements.dart
@@ -931,6 +931,9 @@ class CommonElements {
FunctionEntity get throwRuntimeError =>
_findHelperFunction('throwRuntimeError');
+ FunctionEntity get throwUnsupportedError =>
+ _findHelperFunction('throwUnsupportedError');
+
FunctionEntity get throwTypeError => _findHelperFunction('throwTypeError');
FunctionEntity get throwAbstractClassInstantiationError =>
« no previous file with comments | « no previous file | pkg/compiler/lib/src/diagnostics/messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698