FIR: fix false positives of INNER_CLASS_OF_GENERIC_THROWABLE_SUBCLASS
#KT-49129 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
e3b92fe5f3
commit
31db76da56
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
// See KT-49129
|
||||
|
||||
class Generic<T> {
|
||||
companion object {
|
||||
fun foo() {
|
||||
val x = object : Exception() {}
|
||||
}
|
||||
}
|
||||
class Nested {
|
||||
fun foo() {
|
||||
val x = object : Exception() {}
|
||||
}
|
||||
}
|
||||
inner class Inner {
|
||||
fun foo() {
|
||||
val x = <!INNER_CLASS_OF_GENERIC_THROWABLE_SUBCLASS!>object<!> : Exception() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user