Minor: use ".touch" extension instead of ".new" in incremental compilation tests when it possible
Original commit: d9b67ae0ef
This commit is contained in:
-3
@@ -1,3 +0,0 @@
|
||||
package a
|
||||
|
||||
open class A
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
package module1
|
||||
|
||||
class A
|
||||
|
||||
fun a() {
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package module2
|
||||
|
||||
import module1.*
|
||||
|
||||
fun b(param: A) {
|
||||
a()
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package a
|
||||
|
||||
open class A
|
||||
|
||||
inline fun f(): A {
|
||||
return A()
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package test
|
||||
|
||||
fun g() {
|
||||
other.other()
|
||||
}
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
public class JavaClass {
|
||||
public static final String CONST = "A";
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
class Klass {
|
||||
companion object {
|
||||
val CONST = "bar"
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fun f() {
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fun foo() {
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
public class A
|
||||
@@ -1 +0,0 @@
|
||||
fun f() {}
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package inline
|
||||
|
||||
inline fun f() {}
|
||||
@@ -1,2 +0,0 @@
|
||||
public class A {
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
fun a() {
|
||||
|
||||
}
|
||||
|
||||
val a = ""
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println(a() + b() + other.other())
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
package test
|
||||
|
||||
var b = "b"
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val x = a + b + other.other
|
||||
a = "aa"
|
||||
b = "bb"
|
||||
other.other = "other.other"
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
package test
|
||||
|
||||
fun dummyFunction() {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package test
|
||||
|
||||
const val CONST = "foo"
|
||||
|
||||
class Klass {
|
||||
companion object {
|
||||
const val CONST = "bar"
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fun a(p1: String, p2: String? = null) {
|
||||
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
package test
|
||||
|
||||
fun a(ref: kotlin.test.Asserter) {
|
||||
b(ref)
|
||||
println(":)")
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
package inline
|
||||
|
||||
inline fun f(body: () -> Unit) {
|
||||
println("i'm inline function")
|
||||
body()
|
||||
}
|
||||
|
||||
class Klass {
|
||||
inline fun f(body: () -> Unit) {
|
||||
println("i'm inline function")
|
||||
body()
|
||||
}
|
||||
}
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
f { println("to be inlined") }
|
||||
other.f { println("to be inlined") }
|
||||
}
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
f { println("to be inlined") }
|
||||
other.f { println("to be inlined") }
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package test
|
||||
|
||||
fun other() {
|
||||
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
package klass
|
||||
|
||||
class Klass
|
||||
@@ -1,8 +0,0 @@
|
||||
package test
|
||||
|
||||
import klass.*
|
||||
|
||||
fun a(klass: Klass) {
|
||||
b(klass)
|
||||
println(":)")
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
package test
|
||||
|
||||
import klass.*
|
||||
|
||||
fun a(klass: Klass) {
|
||||
b(klass)
|
||||
println(":)")
|
||||
}
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
f { println("to be inlined") }
|
||||
other.f { println("to be inlined") }
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
f { println("to be inlined") }
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
package test
|
||||
class Foo {
|
||||
fun f() {
|
||||
Bar()
|
||||
}
|
||||
|
||||
class Boo
|
||||
}
|
||||
@@ -9,4 +9,3 @@ fun main(args: Array<String>) {
|
||||
f { }
|
||||
g()
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
package outer.nested
|
||||
|
||||
import outer.f
|
||||
|
||||
fun g() {
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
f { }
|
||||
g()
|
||||
}
|
||||
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
public class JavaClass {
|
||||
public static final String CONST = "A";
|
||||
}
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
public class JavaClass {
|
||||
public static void foo() {
|
||||
}
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
class Klass {
|
||||
companion object {
|
||||
val CONST = "bar"
|
||||
}
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
package test
|
||||
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user