Index: pkg/compiler/lib/src/universe/resolution_world_builder.dart |
diff --git a/pkg/compiler/lib/src/universe/resolution_world_builder.dart b/pkg/compiler/lib/src/universe/resolution_world_builder.dart |
index a5ace63770a68794d925960c51e752aa314e9b63..afd379a1e39634d971371335fad601edc8aa3bfc 100644 |
--- a/pkg/compiler/lib/src/universe/resolution_world_builder.dart |
+++ b/pkg/compiler/lib/src/universe/resolution_world_builder.dart |
@@ -712,7 +712,7 @@ abstract class ResolutionWorldBuilderBase |
} |
if (member.isFunction && |
member.name == Identifiers.call && |
- _elementEnvironment.getThisType(cls).typeArguments.isNotEmpty) { |
+ _elementEnvironment.isGenericClass(cls)) { |
closurizedMembersWithFreeTypeVariables.add(member); |
} |