Extract diagnostics about class literals with empty LHS
^KT-59152
This commit is contained in:
committed by
Space Team
parent
1153238fd7
commit
060f3fa7c4
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
fun regular() {
|
||||
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!>
|
||||
|
||||
with(Any()) {
|
||||
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!>
|
||||
}
|
||||
}
|
||||
|
||||
fun Any.extension() {
|
||||
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!>
|
||||
}
|
||||
|
||||
class A {
|
||||
fun member() {
|
||||
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user