Gracefully handle erroneous super type during local type approximation
^KTIJ-23528 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
f775778efa
commit
c79d65536b
+11
@@ -0,0 +1,11 @@
|
||||
fun box() {
|
||||
class Foo {
|
||||
fun foo() {
|
||||
<expr>Bar()</expr>.unknown()
|
||||
}
|
||||
|
||||
private inner class Bar: Unknown<Unit, Unit, Int>() {
|
||||
override fun unknown() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
KtType: Foo
|
||||
PsiType: PsiType:Bar
|
||||
Reference in New Issue
Block a user