8fc953f529
"Supports additional builtIn members" setting
is basically adding members to some types
If we analyze them toghether other modules would leak types
that have those members (or don't) into other modules scopes
leading to code that has erroneous highlighting
See KT-17357
#KT-17357 Fixed
9 lines
251 B
Kotlin
Vendored
9 lines
251 B
Kotlin
Vendored
package languageVersion1_1
|
|
|
|
public fun useJavaMap1_1(): java.util.HashMap<Int, Int> {
|
|
val g = java.util.HashMap<Int, Int>()
|
|
g.values.removeIf { it < 5 }
|
|
return g
|
|
}
|
|
|
|
val use1_0 = languageVersion1_0.useJavaMap1_0().values.removeIf { it < 5 } |