diagnostics for deprecated syntax of function type parameter list
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ object A {
|
||||
object Bar{}
|
||||
}
|
||||
|
||||
fun test<T>(a: T) {
|
||||
fun <T> test(a: T) {
|
||||
val c = (a as A)
|
||||
c.<error descr="[NESTED_CLASS_ACCESSED_VIA_INSTANCE_REFERENCE] Nested class 'B' accessed via instance reference">B</error>()
|
||||
}
|
||||
Reference in New Issue
Block a user