Load special override as HIDDEN in case of signature clash

#KT-10151 Fixed
This commit is contained in:
Denis Zharkov
2015-12-09 14:09:38 +03:00
parent 45c0bc3610
commit 871fe7680b
40 changed files with 445 additions and 51 deletions
@@ -0,0 +1,9 @@
import java.nio.CharBuffer
fun box(): String {
val cb = CharBuffer.wrap("OK")
cb.position(1)
val o = cb[0]
val k = (cb as CharSequence).get(0)
return o.toString() + k
}