Report diagnostics about experimentality on unsigned literals

#KT-25580 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2018-08-06 14:03:27 +03:00
parent 55e7def3c1
commit 659289b41a
13 changed files with 134 additions and 14 deletions
@@ -0,0 +1,6 @@
package
public const val unsignedConst: kotlin.UInt = 0.toUInt()
public const val unsignedLongConst: kotlin.ULong = 0.toULong()
public fun takeAll(/*0*/ b: kotlin.UByte, /*1*/ s: kotlin.UShort, /*2*/ i: kotlin.UInt, /*3*/ l: kotlin.ULong, /*4*/ vararg uints: kotlin.UInt /*kotlin.UIntArray*/): kotlin.Unit
public fun test(): kotlin.Unit