New J2K: Split old j2k and new j2k tests

This commit is contained in:
Ilya Kirillov
2019-03-28 14:20:17 +03:00
committed by Ilya Kirillov
parent 02a206bf7c
commit b411e8e18e
1631 changed files with 14067 additions and 1513 deletions
@@ -1,12 +0,0 @@
import java.io.PrintStream
internal object Library {
val ourOut: PrintStream? = null
}
internal class User {
fun main() {
Library.ourOut!!.print(1)
}
}
@@ -1,14 +0,0 @@
internal object Library {
fun call() {}
val string: String
get() = ""
}
internal class User {
fun main() {
Library.call()
Library.string.isEmpty()
}
}
@@ -1,19 +0,0 @@
// !forceNotNullTypes: false
// !specifyLocalVariableTypeByDefault: true
internal class Library {
fun call() {}
val string: String
get() = ""
}
internal class User {
fun main() {
val lib: Library = Library()
lib.call()
lib.string.isEmpty()
Library().call()
Library().string.isEmpty()
}
}
@@ -1,18 +0,0 @@
internal class Library {
fun call() {}
val string: String
get() = ""
}
internal class User {
fun main() {
val lib = Library()
lib.call()
lib.string.isEmpty()
Library().call()
Library().string.isEmpty()
}
}