Move reporting of interpreter's backend errors tests to fir module
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// !RENDER_DIAGNOSTICS_FULL_TEXT
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// !DIAGNOSTICS: -CONST_VAL_WITH_NON_CONST_INITIALIZER, -DIVISION_BY_ZERO
|
||||
// WITH_STDLIB
|
||||
|
||||
const val divideByZero = <!EXCEPTION_IN_CONST_VAL_INITIALIZER!>1 / 0<!>
|
||||
const val trimMarginException = "123".<!EXCEPTION_IN_CONST_VAL_INITIALIZER!>trimMargin(" ")<!>
|
||||
|
||||
annotation class A(val i: Int, val b: Int)
|
||||
|
||||
@A(<!EXCEPTION_IN_CONST_VAL_INITIALIZER!>1 / 0<!>, 2)
|
||||
fun foo() {}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package
|
||||
|
||||
public const val divideByZero: kotlin.Int
|
||||
public const val trimMarginException: kotlin.String
|
||||
Reference in New Issue
Block a user