| Index: pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/type_propagation.dart b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| index bd723fc1f0a17f132dcec9f080823ff8acec9239..e6ad665c021c54f875de48fd9756061d61a0894b 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| @@ -775,7 +775,7 @@ class _TypePropagationVisitor<T> implements Visitor {
|
| // Continuations on the other hand are local, and parameters can have
|
| // some other abstract value than non-constant.
|
| } else {
|
| - internalError(node.hint, "Unexpected parent of Parameter");
|
| + internalError(node.hint, "Unexpected parent of Parameter: ${node.parent}");
|
| }
|
| }
|
|
|
| @@ -852,6 +852,13 @@ class _TypePropagationVisitor<T> implements Visitor {
|
| // real constants of type [Type].
|
| setValue(node, nonConst());
|
| }
|
| +
|
| + @override
|
| + visitTypeExpression(TypeExpression node) {
|
| + // TODO(karlklose): come up with a type marker for JS entities or switch to
|
| + // real constants of type [Type].
|
| + setValue(node, nonConst());
|
| + }
|
| }
|
|
|
| /// Represents the abstract value of a primitive value at some point in the
|
|
|