Fix tests ('infix')
This commit is contained in:
@@ -20,4 +20,4 @@ val x = B()["a", "v"]["a" to "b"] {} ["q" to "p"] // does not parses around {}
|
||||
|
||||
//from library
|
||||
data class Pair<out A, out B> (val first: A, val second: B)
|
||||
fun <A,B> A.to(that: B) = Pair(this, that)
|
||||
infix fun <A,B> A.to(that: B) = Pair(this, that)
|
||||
@@ -4,7 +4,7 @@ public val x: B
|
||||
public fun test(): kotlin.Unit
|
||||
public operator fun A.div(/*0*/ s: kotlin.String): A
|
||||
public operator fun kotlin.String.plus(): A
|
||||
public fun </*0*/ A, /*1*/ B> A.to(/*0*/ that: B): Pair<A, B>
|
||||
public infix fun </*0*/ A, /*1*/ B> A.to(/*0*/ that: B): Pair<A, B>
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
|
||||
Reference in New Issue
Block a user