Reserve secondary constructors with bodies inside inline classes
#KT-26575 Fixed
This commit is contained in:
+2
@@ -1,6 +1,8 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@file:Suppress("SECONDARY_CONSTRUCTOR_WITH_BODY_INSIDE_INLINE_CLASS")
|
||||
|
||||
var global = "wrong"
|
||||
|
||||
inline class Foo(val x: String) {
|
||||
|
||||
Reference in New Issue
Block a user