| Index: pkg/compiler/lib/src/ssa/nodes.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart
|
| index c40c1584cd4fc3f9148762e87b714d6491938708..f2d1af7022316fca4b1200b6a19a841ebf8575d6 100644
|
| --- a/pkg/compiler/lib/src/ssa/nodes.dart
|
| +++ b/pkg/compiler/lib/src/ssa/nodes.dart
|
| @@ -1374,9 +1374,8 @@ abstract class HInstruction implements Spannable {
|
| assert(type.treatAsRaw || type.isFunctionType);
|
| if (type.isDynamic) return this;
|
| if (type.isObject) return this;
|
| - // The type element is either a class or the void element.
|
| JavaScriptBackend backend = compiler.backend;
|
| - if (type.isVoid || type.isFunctionType) {
|
| + if (type.isVoid || type.isFunctionType || type.isMalformed) {
|
| return new HTypeConversion(type, kind, backend.dynamicType, this);
|
| }
|
| assert(type.isInterfaceType);
|
|
|