Configure overload resolution on unsigned types same as for primitives

This commit is contained in:
Mikhail Zarechenskiy
2018-05-29 13:33:27 +03:00
parent 5b5d9dd5a0
commit b30b00eedb
8 changed files with 61 additions and 9 deletions
@@ -0,0 +1,8 @@
// !LANGUAGE: +InlineClasses
// !SKIP_METADATA_VERSION_CHECK
// !DIAGNOSTICS: -UNUSED_VARIABLE
fun test() {
val x: UInt = 1u + 2u
val y = 2u + 3u
}
@@ -0,0 +1,3 @@
package
public fun test(): kotlin.Unit