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 10f30c581ac22bf5b67070ff98afe66702a36296..358dcf835777885997f3574d10e65c892e9d7e6a 100644 |
--- a/pkg/compiler/lib/src/js_backend/patch_resolver.dart |
+++ b/pkg/compiler/lib/src/js_backend/patch_resolver.dart |
@@ -84,7 +84,7 @@ class PatchResolverTask extends CompilerTask { |
// We special case the list constructor because of the |
// optional parameter. |
&& |
- origin != compiler.unnamedListConstructor) { |
+ origin != compiler.commonElements.unnamedListConstructor) { |
reporter.reportError( |
reporter.createMessage( |
originParameter, MessageKind.PATCH_PARAMETER_MISMATCH, { |