mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
Store receiver parameter in JVM intrinsics map
To differentiate between "String?.plus" extension in builtins and "Iterable<*>.plus" extension in stdlib (they have the same owner, name and value parameter count)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import java.util.ArrayList
|
||||
|
||||
fun box(): String {
|
||||
var x: MutableCollection<Int> = ArrayList()
|
||||
x + ArrayList()
|
||||
x += ArrayList()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user