Index: pkg/analyzer/lib/src/generated/element_resolver.dart |
diff --git a/pkg/analyzer/lib/src/generated/element_resolver.dart b/pkg/analyzer/lib/src/generated/element_resolver.dart |
index 6c2cd976e23090d0467a22737eb802cc54782714..b2c10e2d9e51ad4cbc8f8c6c89c39a167e028e36 100644 |
--- a/pkg/analyzer/lib/src/generated/element_resolver.dart |
+++ b/pkg/analyzer/lib/src/generated/element_resolver.dart |
@@ -698,16 +698,12 @@ class ElementResolver extends SimpleAstVisitor<Object> { |
if (staticInvokeType != null) { |
List<ParameterElement> parameters = |
_computeCorrespondingParameters(argumentList, staticInvokeType); |
- if (parameters != null) { |
- argumentList.correspondingStaticParameters = parameters; |
- } |
+ argumentList.correspondingStaticParameters = parameters; |
} |
if (propagatedInvokeType != null) { |
List<ParameterElement> parameters = |
_computeCorrespondingParameters(argumentList, propagatedInvokeType); |
- if (parameters != null) { |
- argumentList.correspondingPropagatedParameters = parameters; |
- } |
+ argumentList.correspondingPropagatedParameters = parameters; |
} |
// |
// Then check for error conditions. |