Index: pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart |
diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart |
index a8ede5cef1cd67e216989af369e0f2a46407110b..980aefbc7315e056c3016181c683fa9cdeabcd0a 100644 |
--- a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart |
+++ b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart |
@@ -511,9 +511,11 @@ class Builder implements cps_ir.Visitor<Node> { |
} |
Statement visitTypeOperator(cps_ir.TypeOperator node) { |
- Expression receiver = getVariableUse(node.receiver); |
+ Expression value = getVariableUse(node.value); |
+ List<Expression> typeArgs = translateArguments(node.typeArguments); |
Expression concat = |
- new TypeOperator(receiver, node.type, isTypeTest: node.isTypeTest); |
+ new TypeOperator(value, node.type, typeArgs, |
+ isTypeTest: node.isTypeTest); |
return continueWithExpression(node.continuation, concat); |
} |