File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
55 }
66
77 dependencies {
8- classpath(kotlinModule(" gradle-plugin" , " 1.1.0-beta-38 " ))
8+ classpath(kotlinModule(" gradle-plugin" , " 1.1.0-rc-91 " ))
99 }
1010}
1111
@@ -19,6 +19,6 @@ repositories {
1919}
2020
2121dependencies {
22- compile(kotlinModule(" stdlib" , " 1.1.0-beta-38 " ))
22+ compile(kotlinModule(" stdlib" , " 1.1.0-rc-91 " ))
2323 testCompile(" io.kotlintest:kotlintest:1.3.5" )
2424}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import kotlin.experimental.xor
1212
1313
1414fun Short.toUByte () = toByte()
15- fun Short.toUInt () = toInt() and 0xff
15+ fun Short.toUInt () = toInt() and 0xffff
1616fun Short.toULong () = toUInt().toLong()
1717fun Short.toBigInt () = BigInteger .valueOf(toULong())
1818
You can’t perform that action at this time.
0 commit comments