| Index: pkg/compiler/lib/src/ssa/builder_kernel.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart
|
| index 1ab19ec36e4760693a82839af6baf454e44bf46e..b0712ce25a864b9ead5efaa7fa144128cfd6fd53 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder_kernel.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart
|
| @@ -1233,7 +1233,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
|
| @override
|
| void visitTypeLiteral(ir.TypeLiteral typeLiteral) {
|
| ir.DartType type = typeLiteral.type;
|
| - if (type is ir.InterfaceType) {
|
| + if (type is ir.InterfaceType || type is ir.DynamicType) {
|
| ConstantValue constant = astAdapter.getConstantForType(type);
|
| stack.add(graph.addConstant(constant, closedWorld));
|
| return;
|
| @@ -1251,7 +1251,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
|
| astAdapter.createRuntimeTypeReturnType);
|
| return;
|
| }
|
| - // TODO(27394): 'dynamic' and function types observed. Where are they from?
|
| + // TODO(27394): Function types observed. Where are they from?
|
| defaultExpression(typeLiteral);
|
| return;
|
| }
|
|
|