Chromium Code Reviews| Index: pkg/compiler/lib/src/world.dart |
| diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart |
| index 09a3bde487e9b2fa3c49c9e2eb65182bcfeef2d9..3ce85083c25a03e4ec261094f832f078c17ef485 100644 |
| --- a/pkg/compiler/lib/src/world.dart |
| +++ b/pkg/compiler/lib/src/world.dart |
| @@ -377,7 +377,7 @@ abstract class ClosedWorldRefiner { |
| /// considered directly instantiated. If [fromInstanceMember] is true, this |
| /// closure class represents a closure that is inside an instance member, thus |
| /// has access to `this`. |
| - void registerClosureClass(covariant ClassEntity cls, bool fromInstanceMember); |
| + void registerClosureClass(covariant ClassEntity cls); |
|
Emily Fortuna
2017/07/21 22:21:43
then we can cut the covariant keyword and just hav
Johnni Winther
2017/07/28 12:08:19
Done.
|
| } |
| abstract class OpenWorld implements World { |
| @@ -1307,7 +1307,7 @@ class ClosedWorldImpl extends ClosedWorldBase with ClosedWorldRtiNeedMixin { |
| return selector.appliesUntyped(element); |
| } |
| - void registerClosureClass(ClassElement cls, bool _) { |
| + void registerClosureClass(ClassElement cls) { |
| ClassHierarchyNode parentNode = getClassHierarchyNode(cls.superclass); |
| ClassHierarchyNode node = _classHierarchyNodes[cls] = |
| new ClassHierarchyNode(parentNode, cls, cls.hierarchyDepth); |