| Index: pkg/compiler/lib/src/inferrer/node_tracer.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/node_tracer.dart b/pkg/compiler/lib/src/inferrer/node_tracer.dart
|
| index c50929d01ba803a9b5bbf5fa890206c7a3617254..dca18a594a1632520edfddf1b29b053fc5214f8c 100644
|
| --- a/pkg/compiler/lib/src/inferrer/node_tracer.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/node_tracer.dart
|
| @@ -333,7 +333,7 @@ abstract class TracerVisitor<T extends TypeInformation>
|
| * [isAddedToContainer].
|
| */
|
| bool isParameterOfListAddingMethod(Element element) {
|
| - if (!element.isParameter) return false;
|
| + if (!element.isRegularParameter) return false;
|
| if (element.enclosingClass != compiler.backend.listImplementation) {
|
| return false;
|
| }
|
| @@ -349,7 +349,7 @@ abstract class TracerVisitor<T extends TypeInformation>
|
| * [isValueAddedToMap] and [isKeyAddedToMap].
|
| */
|
| bool isParameterOfMapAddingMethod(Element element) {
|
| - if (!element.isParameter) return false;
|
| + if (!element.isRegularParameter) return false;
|
| if (element.enclosingClass != compiler.backend.mapImplementation) {
|
| return false;
|
| }
|
|
|