| Index: pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
|
| index 1131ce8ab1ebf6f129a045621072b5a1382774e2..631e909e1874864b1f48741e255e795816aced4f 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
|
| @@ -159,8 +159,8 @@ class SExpressionStringifier extends Indentation implements Visitor<String> {
|
| // constructor calls in the DartBackend, we get an element with no enclosing
|
| // class. Clean this up by introducing a name field to the node and
|
| // removing [ErroneousElement]s from the IR.
|
| - if (node.type != null) {
|
| - className = node.type.toString();
|
| + if (node.dartType != null) {
|
| + className = node.dartType.toString();
|
| } else {
|
| className = node.target.enclosingClass.name;
|
| }
|
| @@ -232,13 +232,14 @@ class SExpressionStringifier extends Indentation implements Visitor<String> {
|
| String value = access(node.value);
|
| String cont = access(node.continuation);
|
| String typeArguments = node.typeArguments.map(access).join(' ');
|
| - return '$indentation(TypeCast $value ${node.type} ($typeArguments) $cont)';
|
| + return '$indentation(TypeCast $value ${node.dartType}'
|
| + ' ($typeArguments) $cont)';
|
| }
|
|
|
| String visitTypeTest(TypeTest node) {
|
| String value = access(node.value);
|
| String typeArguments = node.typeArguments.map(access).join(' ');
|
| - return '(TypeTest $value ${node.type} ($typeArguments))';
|
| + return '(TypeTest $value ${node.dartType} ($typeArguments))';
|
| }
|
|
|
| String visitLiteralList(LiteralList node) {
|
|
|