Chromium Code Reviews| Index: pkg/compiler/lib/src/universe/use.dart |
| diff --git a/pkg/compiler/lib/src/universe/use.dart b/pkg/compiler/lib/src/universe/use.dart |
| index 9997717e6cdad8c28c7320363e4c28e3feb3a06d..e24fad42cb8e9803403b402cd0a07789c34cea94 100644 |
| --- a/pkg/compiler/lib/src/universe/use.dart |
| +++ b/pkg/compiler/lib/src/universe/use.dart |
| @@ -20,7 +20,7 @@ import '../closure.dart' show BoxFieldElement; |
| import '../common.dart'; |
| import '../constants/values.dart'; |
| import '../elements/types.dart'; |
| -import '../elements/elements.dart' show ConstructorBodyElement, Element; |
| +import '../elements/elements.dart' show Element; |
| import '../elements/entities.dart'; |
| import '../util/util.dart' show Hashing; |
| import '../world.dart' show World; |
| @@ -246,7 +246,7 @@ class StaticUse { |
| /// Invocation of a constructor (body) [element] through a this or super |
| /// constructor call with the given [callStructure]. |
| factory StaticUse.constructorBodyInvoke( |
| - ConstructorBodyElement element, CallStructure callStructure) { |
| + FunctionEntity element, CallStructure callStructure) { |
|
Siggi Cherem (dart-lang)
2017/07/07 20:00:25
why not ConsutrctorBodyEntity?
Johnni Winther
2017/07/10 14:11:34
Changed to ConstructorBodyEntity (when I started t
|
| // TODO(johnniwinther): Use the [callStructure]. |
| return new StaticUse.internal(element, StaticUseKind.GENERAL); |
| } |