| Index: pkg/compiler/lib/src/world.dart
|
| diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
|
| index 21088007e8b24d13c4d1a3d6a513babfe93b5746..0a9527dc9b867b2b76cd2bdbddea83732e963fc6 100644
|
| --- a/pkg/compiler/lib/src/world.dart
|
| +++ b/pkg/compiler/lib/src/world.dart
|
| @@ -1229,8 +1229,8 @@ class ClosedWorldImpl extends ClosedWorldBase {
|
| /// will hit a method at runtime, and not go through [noSuchMethod].
|
| bool hasConcreteMatch(ClassElement cls, Selector selector,
|
| {ClassElement stopAtSuperclass}) {
|
| - assert(invariant(cls, isInstantiated(cls),
|
| - message: '$cls has not been instantiated.'));
|
| + assert(
|
| + isInstantiated(cls), failedAt(cls, '$cls has not been instantiated.'));
|
| MemberElement element = findMatchIn(cls, selector);
|
| if (element == null) return false;
|
|
|
|
|