Fix testCleanup
This commit is contained in:
@@ -65,11 +65,6 @@ fun <T : Cloneable> withTypeParameters() where T : Comparable<T> {
|
|||||||
|
|
||||||
val x = C() willBeInfix 1
|
val x = C() willBeInfix 1
|
||||||
|
|
||||||
fun infixTest() {
|
|
||||||
arrayListOf(1, 2, 3) map { it }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
fun bar(yield: Int = 4) {}
|
fun bar(yield: Int = 4) {}
|
||||||
|
|
||||||
fun yield(yield: Int) {
|
fun yield(yield: Int) {
|
||||||
|
|||||||
+3
-7
@@ -51,7 +51,7 @@ fun foo() {
|
|||||||
class C {
|
class C {
|
||||||
fun foo() {}
|
fun foo() {}
|
||||||
|
|
||||||
fun bar() = C::foo
|
fun bar() = ::foo
|
||||||
|
|
||||||
infix fun willBeInfix(i: Int) {}
|
infix fun willBeInfix(i: Int) {}
|
||||||
}
|
}
|
||||||
@@ -64,11 +64,6 @@ fun <T> withTypeParameters() where T : Cloneable, T : Comparable<T> {
|
|||||||
|
|
||||||
val x = C() willBeInfix 1
|
val x = C() willBeInfix 1
|
||||||
|
|
||||||
fun infixTest() {
|
|
||||||
arrayListOf(1, 2, 3).map { it }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
fun bar(yield: Int = 4) {}
|
fun bar(yield: Int = 4) {}
|
||||||
|
|
||||||
fun yield(yield: Int) {
|
fun yield(yield: Int) {
|
||||||
@@ -100,7 +95,8 @@ annotation class yield
|
|||||||
fun test2(p: Int) {
|
fun test2(p: Int) {
|
||||||
`yield`@ p
|
`yield`@ p
|
||||||
|
|
||||||
@`yield` fun f() {}
|
@`yield`
|
||||||
|
fun f() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
object X {
|
object X {
|
||||||
|
|||||||
Reference in New Issue
Block a user