Change Signature: Run tests with Kotlin stdlib
This commit is contained in:
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
X(0).foo("1", 2)
|
||||
|
||||
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
foo("1", 2)
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
A(3).foo("1", 2)
|
||||
with(A(3)) {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
open class A {
|
||||
open var String.p: Int = 1
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
open class A {
|
||||
open var <caret>p: Int = 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
package test
|
||||
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class A
|
||||
|
||||
open var <caret>A.p: Int
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
package test
|
||||
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class A
|
||||
|
||||
open var <caret>p: Int
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
open class A {
|
||||
open var s: String = 1
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
open class A {
|
||||
open var <caret>p: Int = 1
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
open class A {
|
||||
open var Int.<caret>p: Int = 1
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
open class A {
|
||||
open var String.<caret>p: Int = 1
|
||||
}
|
||||
|
||||
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
"1".foo(X(0), 2)
|
||||
|
||||
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
X(0).foo("1", 2)
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
package test
|
||||
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class A
|
||||
|
||||
open var String.<caret>p: Int
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
package test
|
||||
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class A
|
||||
|
||||
open var A.<caret>p: Int
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
X(0).foo("1", 2)
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
foo(X(0), "1", 2)
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
X(0).foo("1", 2)
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
foo("1", X(0), 2)
|
||||
|
||||
Vendored
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
A(3).foo(X(0), "1", 2)
|
||||
with(A(3)) {
|
||||
|
||||
@@ -4,8 +4,6 @@ fun <caret>foo(x: X, s: String, k: Int): Boolean {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
foo(X(0), "1", 2)
|
||||
with(X(0)) {
|
||||
|
||||
-2
@@ -4,8 +4,6 @@ fun X.<caret>foo(s: String, k: Int): Boolean {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
X(0).foo("1", 2)
|
||||
with(X(0)) {
|
||||
|
||||
@@ -4,8 +4,6 @@ fun <caret>foo(s: String, x: X, k: Int): Boolean {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
foo("1", X(0), 2)
|
||||
with(X(0)) {
|
||||
|
||||
-2
@@ -4,8 +4,6 @@ fun X.<caret>foo(s: String, k: Int): Boolean {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
X(0).foo("1", 2)
|
||||
with(X(0)) {
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
foo(X(0), "1", 2)
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
X(0).foo("1", 2)
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
foo("1", X(0), 2)
|
||||
|
||||
-2
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
X(0).foo("1", 2)
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class C {
|
||||
fun String.foo() {
|
||||
with(1) {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class C {
|
||||
fun <caret>foo(s: String) {
|
||||
with(1) {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class C {
|
||||
fun foo(s: String) {
|
||||
with(1) {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class C {
|
||||
fun String.<caret>foo() {
|
||||
with(1) {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
open class A {
|
||||
open var p: Int = 1
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
open class A {
|
||||
open var String.<caret>p: Int = 1
|
||||
}
|
||||
|
||||
@@ -4,8 +4,6 @@ fun foo(s: String, k: Int): Boolean {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(X(0)) {
|
||||
foo("1", 2)
|
||||
|
||||
@@ -4,8 +4,6 @@ fun X.<caret>foo(s: String, k: Int): Boolean {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(X(0)) {
|
||||
foo("1", 2)
|
||||
|
||||
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
foo("1", 2)
|
||||
|
||||
@@ -10,8 +10,6 @@ class A(val k: Int) {
|
||||
|
||||
class X(val k: Int)
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
fun test() {
|
||||
with(A(3)) {
|
||||
X(0).foo("1", 2)
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
package test
|
||||
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class A
|
||||
|
||||
open var <caret>p: Int
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
package test
|
||||
|
||||
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
class A
|
||||
|
||||
open var A.<caret>p: Int
|
||||
|
||||
Reference in New Issue
Block a user