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/patch_resolver.dart

Issue 2935663002: Remove Compiler.commonElements (Closed)
Patch Set: Remove Compiler._commonElements 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
Index: pkg/compiler/lib/src/js_backend/patch_resolver.dart
diff --git a/pkg/compiler/lib/src/js_backend/patch_resolver.dart b/pkg/compiler/lib/src/js_backend/patch_resolver.dart
index 49da46613f15824641b88f28f5577044ca1c04ce..6c55ad373cf27e16c0c7dce0498bd65e0e4dbd5f 100644
--- a/pkg/compiler/lib/src/js_backend/patch_resolver.dart
+++ b/pkg/compiler/lib/src/js_backend/patch_resolver.dart
@@ -51,7 +51,7 @@ class PatchResolverTask extends CompilerTask {
void checkMatchingPatchParameters(FunctionElement origin,
List<Element> originParameters, List<Element> patchParameters) {
bool isUnnamedListConstructor = origin is ConstructorElement &&
- compiler.commonElements.isUnnamedListConstructor(origin);
+ resolution.commonElements.isUnnamedListConstructor(origin);
assert(originParameters.length == patchParameters.length);
for (int index = 0; index < originParameters.length; index++) {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/mirrors_analysis.dart ('k') | pkg/compiler/lib/src/js_emitter/code_emitter_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698