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++) { |