[FIR] Prohibit class literals with empty left-hand side
^KT-59165 Fixed
This commit is contained in:
committed by
Space Team
parent
d748fe7696
commit
713c2136cc
@@ -0,0 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-59165
|
||||
|
||||
fun regular() {
|
||||
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!> // K1: Error, K2: compiles
|
||||
}
|
||||
Reference in New Issue
Block a user