[FIR] Support ENUM_CLASS_CONSTRUCTOR_CALL
^KT-59411 Fixed
This commit is contained in:
committed by
Space Team
parent
f4ffd479cc
commit
e4246e8f51
@@ -6,5 +6,5 @@ enum class A(val c: Int) {
|
||||
|
||||
fun createA(): A {
|
||||
// Error should be here!
|
||||
return <!INVISIBLE_REFERENCE!>A<!>(10)
|
||||
return <!ENUM_CLASS_CONSTRUCTOR_CALL!><!INVISIBLE_REFERENCE!>A<!>(10)<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user