Mixin kotlin.Number methods into j.l.Number member scope

#KT-9672 Fixed
This commit is contained in:
Denis Zharkov
2015-10-20 18:32:33 +03:00
parent b774373dbc
commit 1413cab1e6
3 changed files with 21 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
fun test(x: java.lang.Integer) {
x.<caret>
}
// EXIST: toByte
// EXIST: toShort
// EXIST: toInt
// EXIST: toLong
// EXIST: toFloat
// EXIST: toDouble