| Index: pkg/compiler/lib/src/js_backend/resolution_listener.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/resolution_listener.dart b/pkg/compiler/lib/src/js_backend/resolution_listener.dart
|
| index b93283823b73dd771aefd0894784b5f7908bb1f4..af08ceb09f0406da16425f04c5134988776a90f6 100644
|
| --- a/pkg/compiler/lib/src/js_backend/resolution_listener.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/resolution_listener.dart
|
| @@ -309,7 +309,7 @@ class ResolutionEnqueuerListener extends EnqueuerListener {
|
| ClassEntity cls = method.enclosingClass;
|
|
|
| if (method.name == Identifiers.call &&
|
| - _elementEnvironment.getThisType(cls).typeArguments.isNotEmpty) {
|
| + _elementEnvironment.isGenericClass(cls)) {
|
| worldImpact.addImpact(_registerComputeSignature());
|
| }
|
| }
|
| @@ -368,7 +368,7 @@ class ResolutionEnqueuerListener extends EnqueuerListener {
|
|
|
| WorldImpact _processClass(ClassEntity cls) {
|
| WorldImpactBuilderImpl impactBuilder = new WorldImpactBuilderImpl();
|
| - if (_elementEnvironment.getThisType(cls).typeArguments.isNotEmpty) {
|
| + if (_elementEnvironment.isGenericClass(cls)) {
|
| _typeVariableResolutionAnalysis.registerClassWithTypeVariables(cls);
|
| }
|
| // TODO(johnniwinther): Extract an `implementationClassesOf(...)` function
|
|
|