[FIR2IR] Make checks about f/o accessors necessity more precise

#KT-43342 Fixed
This commit is contained in:
Mikhail Glukhikh
2020-11-30 10:44:42 +03:00
parent b179b567a9
commit 7550a1870b
9 changed files with 590 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
// WITH_RUNTIME
open class ControlFlowInfo<K, V>(val map: Map<K, V>): Map<K, V> by map
class StringFlowInfo(map: Map<String, String>): ControlFlowInfo<String, String>(map) {
fun foo(info: StringFlowInfo) {
keys
info.keys
}
}