FIR: Reimplement implicit types calculator
Make it works through a single component tracking computation status instead of storing it in the nodes
This commit is contained in:
Vendored
+6
-6
@@ -7,7 +7,7 @@ object Outer {
|
||||
get() = 0
|
||||
|
||||
override fun get(index: Int): Char {
|
||||
<!UNRESOLVED_REFERENCE!>checkSubtype<!><CharSequence>(x)
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><CharSequence>(x)
|
||||
return ' '
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ object Outer {
|
||||
}
|
||||
}
|
||||
set(q) {
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><CharSequence>(x)
|
||||
checkSubtype<CharSequence>(x)
|
||||
y = q
|
||||
x = q
|
||||
}
|
||||
@@ -27,10 +27,10 @@ object Outer {
|
||||
fun foo() {
|
||||
x = y
|
||||
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><CharSequence>(x)
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><CharSequence>(y)
|
||||
checkSubtype<CharSequence>(x)
|
||||
checkSubtype<CharSequence>(y)
|
||||
|
||||
x.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
y.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
x.bar()
|
||||
y.bar()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user