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

Unified Diff: pkg/compiler/lib/src/js_backend/backend_impact.dart

Issue 2553333002: Fix unresolved identifier impact to include symbols (Closed)
Patch Set: format Created 4 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/backend_impact.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend_impact.dart b/pkg/compiler/lib/src/js_backend/backend_impact.dart
index 7b128391f631380c2c575f4c15cd5897bb2e885d..975ce12bc0fb282b501c3ca697fd2f8b331b70ff 100644
--- a/pkg/compiler/lib/src/js_backend/backend_impact.dart
+++ b/pkg/compiler/lib/src/js_backend/backend_impact.dart
@@ -161,10 +161,16 @@ class BackendImpacts {
BackendImpact get throwNoSuchMethod {
return _throwNoSuchMethod ??= new BackendImpact(
+ instantiatedClasses: compiler.options.useKernel
+ ? [
+ commonElements.symbolClass,
+ ]
+ : [],
staticUses: compiler.options.useKernel
? [
helpers.genericNoSuchMethod,
helpers.unresolvedConstructorError,
+ commonElements.symbolConstructor.declaration,
]
: [
helpers.throwNoSuchMethod,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698