Map Nothing to java.lang.Void

This commit is contained in:
Andrey Breslav
2013-10-25 15:13:23 +04:00
parent 1ff0ffbac6
commit ed95463d1e
11 changed files with 55 additions and 34 deletions
@@ -127,7 +127,7 @@ public class ClassGenTest extends CodegenTestCase {
public void testKt309() {
loadText("fun box() = null");
Method method = generateFunction("box");
assertEquals(method.getReturnType().getName(), "java.lang.Object");
assertEquals(method.getReturnType().getName(), "java.lang.Void");
}
/*