| Index: pkg/compiler/lib/src/resolution/send_resolver.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/send_resolver.dart b/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| index aa5a747db0f6ab531631e634b1954ea03d0d272b..fc02a31b7fa24944e4e7c595afba73776a5c3087 100644
|
| --- a/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| +++ b/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| @@ -309,7 +309,10 @@ abstract class SendResolverMixin {
|
| Element getter = isCompound ? elements[node.selector] : null;
|
| if (elements.isTypeLiteral(node)) {
|
| DartType dartType = elements.getTypeLiteralType(node);
|
| - TypeConstantExpression constant = elements.getConstant(
|
| + // TODO(johnniwinther): Handle deferred constants. There are runtime
|
| + // but not compile-time constants and should have their own
|
| + // [DeferredConstantExpression] class.
|
| + ConstantExpression constant = elements.getConstant(
|
| isInvoke ? node.selector : node);
|
| switch (dartType.kind) {
|
| case TypeKind.INTERFACE:
|
|
|