[NI-MIGRATE-BAD] Update problematic/questionable tests

These tests are going to be reviewed in more detail before 1.4
This commit is contained in:
Mikhail Zarechenskiy
2020-02-12 18:49:24 +03:00
parent c2fc633ad6
commit abc5eb4740
12 changed files with 15 additions and 3 deletions
@@ -1,3 +1,5 @@
// !LANGUAGE: -NewInference
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
@@ -1,4 +1,4 @@
// !LANGUAGE: -NormalizeConstructorCalls
// !LANGUAGE: -NormalizeConstructorCalls -NewInference
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// !LANGUAGE: -NewInference
// !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
@@ -1,3 +1,5 @@
// !LANGUAGE: -NewInference
// IGNORE_BACKEND_FIR: JVM_IR
inline operator fun Double.provideDelegate(thisRef: Any?, kProp: Any?) = this.toLong()
@@ -1,3 +1,4 @@
// !LANGUAGE: -NewInference
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,4 +1,4 @@
// !LANGUAGE: +NewInference
// !LANGUAGE: -NewInference
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
@@ -1,3 +1,4 @@
// !LANGUAGE: -NewInference
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> outer(command: () -> T) : T = command()
@@ -1,3 +1,4 @@
// !LANGUAGE: +FunctionReferenceWithDefaultValueAsOtherType
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
@@ -1,4 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS
fun box(): String {
val z = "K"
open class A(val x: String) {
@@ -1,3 +1,4 @@
// !LANGUAGE: -NewInference
// NO_CHECK_LAMBDA_INLINING
// FILE: 1.kt
// WITH_RUNTIME