| Index: lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
|
| index 80b33d877bd0d91a9b482af6b36236578973d5fa..4514dbe5b8016152dd707b56786d009194bd69d3 100644
|
| --- a/lib/compiler/implementation/ssa/codegen.dart
|
| +++ b/lib/compiler/implementation/ssa/codegen.dart
|
| @@ -1621,12 +1621,12 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| }
|
|
|
| void visitIs(HIs node) {
|
| - Type type = node.typeName;
|
| + Type type = node.typeExpression;
|
| Element element = type.element;
|
| if (element.kind === ElementKind.TYPE_VARIABLE) {
|
| - compiler.unimplemented("visitIs for type variables");
|
| + compiler.unimplemented("visitIs for type variables", instruction: node);
|
| } else if (element.kind === ElementKind.TYPEDEF) {
|
| - compiler.unimplemented("visitIs for typedefs");
|
| + compiler.unimplemented("visitIs for typedefs", instruction: node);
|
| }
|
| compiler.registerIsCheck(element);
|
| LibraryElement coreLibrary = compiler.coreLibrary;
|
|
|