[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// KT-7753: attempt to call enum constructor explicitly
|
||||
enum class A(val c: Int) {
|
||||
ONE(1),
|
||||
TWO(2);
|
||||
}
|
||||
|
||||
fun createA(): A {
|
||||
// Error should be here!
|
||||
return <!INAPPLICABLE_CANDIDATE!>A<!>(10)
|
||||
}
|
||||
Reference in New Issue
Block a user