| 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 bdacd015367b857e01c2152b372cbf76ea9f7d32..28562b12f9822ff942b055bc31d109b09fc1df01 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| @@ -777,7 +777,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}");
|
| }
|
| }
|
|
|
| @@ -854,6 +854,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
|
|
|