JVM, JVM IR: Fix assertion status for regenerated anonymous objects
We always set the $assertionsDisabled field based on the top-level enclosing class. This means that for anonymous objects we have to rewrite the call to Class.desiredAssertionStatus.
This commit is contained in:
committed by
Ilmir Usmanov
parent
272f6abe69
commit
ba90e87756
@@ -1,6 +1,3 @@
|
||||
// This test is ignored until KT-36794 is fixed
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm
|
||||
|
||||
inline fun inlineMe(crossinline c : () -> Unit) = {
|
||||
|
||||
Reference in New Issue
Block a user