Migrate boxInline tests to new multi-file framework
This commit is contained in:
committed by
Alexander Udalov
parent
fa1f7d988e
commit
cc84aabdcf
@@ -1,9 +0,0 @@
|
||||
package zzz
|
||||
|
||||
public class A(val a: Int, val b: Int)
|
||||
|
||||
operator inline fun A.component1() = a
|
||||
|
||||
operator inline fun A.component2() = b
|
||||
|
||||
//SMAP ABSENT
|
||||
+15
-1
@@ -1,3 +1,17 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
package zzz
|
||||
|
||||
public class A(val a: Int, val b: Int)
|
||||
|
||||
operator inline fun A.component1() = a
|
||||
|
||||
operator inline fun A.component2() = b
|
||||
|
||||
//SMAP ABSENT
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import zzz.*
|
||||
|
||||
fun box(): String {
|
||||
@@ -18,4 +32,4 @@ fun box(): String {
|
||||
//*L
|
||||
//1#1,21:1
|
||||
//5#2,3:22
|
||||
//*E
|
||||
//*E
|
||||
@@ -1,7 +0,0 @@
|
||||
package zzz
|
||||
|
||||
public class A(val p: Int)
|
||||
|
||||
operator inline fun A.iterator() = (1..p).iterator()
|
||||
|
||||
//SMAP ABSENT
|
||||
+13
-1
@@ -1,3 +1,15 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
package zzz
|
||||
|
||||
public class A(val p: Int)
|
||||
|
||||
operator inline fun A.iterator() = (1..p).iterator()
|
||||
|
||||
//SMAP ABSENT
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import zzz.*
|
||||
|
||||
fun box(): String {
|
||||
@@ -21,4 +33,4 @@ fun box(): String {
|
||||
//*L
|
||||
//1#1,24:1
|
||||
//5#2:25
|
||||
//*E
|
||||
//*E
|
||||
Reference in New Issue
Block a user