Support configuration directives FULL_JDK, WITH_RUNTIME, WITH_REFLECT in Psi2Ir tests.
This commit is contained in:
committed by
Dmitry Petrov
parent
d623c70778
commit
539d7ccf6f
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
class C(x: Int, val y: Int, var z: Int = 1) {
|
||||
constructor() : this(0, 0, 0) {}
|
||||
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
enum class TestEnum1 {
|
||||
TEST1, TEST2
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
class Test1 {
|
||||
init {
|
||||
println()
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
interface IFoo {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val test1 by lazy { 42 }
|
||||
|
||||
class C(val map: MutableMap<String, Any>) {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test1() {
|
||||
val x by lazy { 42 }
|
||||
println(x)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun testEmpty(ss: List<String>) {
|
||||
for (s in ss);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
object FiveTimes
|
||||
|
||||
class IntCell(var value: Int)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun expectsString(s: String) {}
|
||||
fun expectsInt(i: Int) {}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test1() {
|
||||
try {
|
||||
println()
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
object A
|
||||
|
||||
fun testWithSubject(x: Any?) =
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val anonymous = fun() { println() }
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test0() {
|
||||
run {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user