| Index: lib/compiler/implementation/universe.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/universe.dart (revision 11511)
|
| +++ lib/compiler/implementation/universe.dart (working copy)
|
| @@ -375,8 +375,7 @@
|
| }
|
|
|
| ClassElement self = receiverType.element;
|
| - // TODO(ngeoffray): tree-shake on interfaces.
|
| - if (self.isInterface() || other.isSubclassOf(self)) {
|
| + if (other.implementsInterface(self) || other.isSubclassOf(self)) {
|
| return appliesUntyped(element, compiler);
|
| }
|
|
|
|
|