| Index: pkg/compiler/lib/src/common/resolution.dart
|
| diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart
|
| index a1ce0e1fb5f7b907006a8cfebaf183bbecef03a8..692ff19311c04078ff87e03655cf862aaff8a8be 100644
|
| --- a/pkg/compiler/lib/src/common/resolution.dart
|
| +++ b/pkg/compiler/lib/src/common/resolution.dart
|
| @@ -185,9 +185,7 @@ class ListLiteralUse {
|
|
|
| /// Mutable implementation of [WorldImpact] used to transform
|
| /// [ResolutionImpact] to [WorldImpact].
|
| -// TODO(johnniwinther): Remove [Registry] when dependency is tracked directly
|
| -// on [WorldImpact].
|
| -class TransformedWorldImpact extends WorldImpact {
|
| +class TransformedWorldImpact implements WorldImpact {
|
| final ResolutionImpact worldImpact;
|
|
|
| Setlet<Element> _staticUses;
|
| @@ -230,6 +228,9 @@ class TransformedWorldImpact extends WorldImpact {
|
| @override
|
| Iterable<DartType> get isChecks => worldImpact.isChecks;
|
|
|
| + @override
|
| + Iterable<DartType> get onCatchTypes => worldImpact.onCatchTypes;
|
| +
|
| _unsupported(String message) => throw new UnsupportedError(message);
|
|
|
| void registerDynamicGetter(UniverseSelector selector) {
|
| @@ -294,7 +295,7 @@ class TransformedWorldImpact extends WorldImpact {
|
| String toString() {
|
| StringBuffer sb = new StringBuffer();
|
| sb.write('TransformedWorldImpact($worldImpact)');
|
| - sb.write(super.toString());
|
| + WorldImpact.printOn(sb, this);
|
| return sb.toString();
|
| }
|
| }
|
|
|