added test for KT-239
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
fun box(i: Int?) {
|
||||||
|
val j = i?.plus(3) //verify error
|
||||||
|
}
|
||||||
@@ -262,4 +262,8 @@ public class PrimitiveTypesTest extends CodegenTestCase {
|
|||||||
public void testKt242 () throws Exception {
|
public void testKt242 () throws Exception {
|
||||||
blackBoxFile("regressions/kt242.jet");
|
blackBoxFile("regressions/kt242.jet");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testKt239 () throws Exception {
|
||||||
|
blackBoxFile("regressions/kt242.jet");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user