fix stupid bug introduced during refactoring

This commit is contained in:
Dmitry Jemerov
2011-05-30 15:46:57 +04:00
parent d4f0486139
commit d0f284fd5f
3 changed files with 12 additions and 1 deletions
@@ -1504,7 +1504,6 @@ public class ExpressionCodegen extends JetVisitor {
throw new UnsupportedOperationException("don't know how to handle non-class types in as/as?");
}
Type type = typeMapper.mapType(jetType, OwnerKind.INTERFACE);
gen(expression.getLeft(), OBJECT_TYPE);
generateInstanceOf(new Runnable() {
@Override
public void run() {