[Tests] Migrate backend-independent tests from native to compiler/testData.
^KT-65979
This commit is contained in:
committed by
Space Team
parent
dd9332d9e1
commit
febac0dd5f
+3144
File diff suppressed because it is too large
Load Diff
+3144
File diff suppressed because it is too large
Load Diff
+3144
File diff suppressed because it is too large
Load Diff
+3144
File diff suppressed because it is too large
Load Diff
+3144
File diff suppressed because it is too large
Load Diff
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66094: java.lang.InstantiationError: Foo
|
||||||
|
// DONT_TARGET_EXACT_BACKEND: JVM
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
private fun charCornersMinus(): Int {
|
private fun charCornersMinus(): Int {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -1,3 +1,6 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
|
// KT-66079
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
// Check that compiler doesn't optimize it to `true`
|
// Check that compiler doesn't optimize it to `true`
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+5
@@ -1,3 +1,8 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
|
// KT-66080
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// KT-66081
|
||||||
|
// IGNORE_BACKEND: WASM
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
object RGBA {
|
object RGBA {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Canonical_nameKt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
-1
@@ -2,7 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
val sb = StringBuilder()
|
val sb = StringBuilder()
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
open class A() {}
|
open class A() {}
|
||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
interface I
|
interface I
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
//Original issue here https://youtrack.jetbrains.com/issue/KT-37212
|
//Original issue here https://youtrack.jetbrains.com/issue/KT-37212
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun foo() {
|
fun foo() {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
// https://youtrack.jetbrains.com/issue/KT-42000
|
// https://youtrack.jetbrains.com/issue/KT-42000
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun local_variable(a: Int) : Int {
|
fun local_variable(a: Int) : Int {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
//--- Test "eqeq" -------------------------------------------------------------//
|
//--- Test "eqeq" -------------------------------------------------------------//
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
open class A
|
open class A
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Statements0Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
-1
@@ -2,7 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
val sb = StringBuilder()
|
val sb = StringBuilder()
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
open class C {
|
open class C {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
open class C {
|
open class C {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
open class C {
|
open class C {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Unchecked_cast1Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
-1
@@ -2,7 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
val sb = StringBuilder()
|
val sb = StringBuilder()
|
||||||
+6
-1
@@ -2,8 +2,13 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66086
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
|
// KT-66084
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// KT-66085
|
||||||
|
// IGNORE_BACKEND: WASM
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
native/native.tests/testData/codegen/basics/unit1.kt → compiler/testData/codegen/box/basics/unit1.kt
Vendored
+2
-1
@@ -2,9 +2,10 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
fun myPrintln(a: Any): Unit {}
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
val unit = println("First")
|
val unit = myPrintln("First")
|
||||||
if (unit.toString() != "kotlin.Unit") return "FAIL 1: $unit"
|
if (unit.toString() != "kotlin.Unit") return "FAIL 1: $unit"
|
||||||
return "OK"
|
return "OK"
|
||||||
}
|
}
|
||||||
native/native.tests/testData/codegen/bce/bceCases.kt → compiler/testData/codegen/box/bce/bceCases.kt
Vendored
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun foo(a: Int, b : Int): Int = a + b * 2
|
fun foo(a: Int, b : Int): Int = a + b * 2
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
var needSmallArray = true
|
var needSmallArray = true
|
||||||
+4
@@ -2,6 +2,10 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
|
// WITH_REFLECT
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
import kotlin.reflect.KProperty
|
import kotlin.reflect.KProperty
|
||||||
|
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
class Foo(size: Int) {
|
class Foo(size: Int) {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
class First(initArray: Array<Int>) {
|
class First(initArray: Array<Int>) {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
+4
@@ -2,6 +2,10 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
|
// WITH_REFLECT
|
||||||
import kotlin.reflect.KProperty
|
import kotlin.reflect.KProperty
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
+3
@@ -2,6 +2,9 @@
|
|||||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// KT-66100: AssertionError: Expected an exception of class IndexOutOfBoundsException to be thrown, but was completed successfully.
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// WITH_STDLIB
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
var needSmallArray = true
|
var needSmallArray = true
|
||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing1Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing11Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing12Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing13Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing14Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing2Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing3Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing4Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing5Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing6Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing7Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing8Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MODULE main
|
||||||
|
CLASS Boxing9Kt.class
|
||||||
|
PACKAGE METADATA
|
||||||
|
PROPERTY getSb()Ljava/lang/StringBuilder;
|
||||||
|
Property: class.metadata.property.returnType
|
||||||
|
K1
|
||||||
|
java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */
|
||||||
|
K2
|
||||||
|
java/lang/StringBuilder
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
+5
@@ -2,6 +2,11 @@
|
|||||||
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||||
*/
|
*/
|
||||||
|
// KT-54635: expected:<[OK]> but was:<[FAIL 1: 0]>
|
||||||
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
// KT-66099: CompileError: WebAssembly.Module(): Compiling function #3415:"box" failed: Invalid types for ref.cast null: local.get of type f64 has to be in the same reference type hierarchy as (ref 686) @+237036
|
||||||
|
// IGNORE_BACKEND: WASM
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user