K2: add missing checks for integral parameter type on implicit coercion
#KT-61418 fixed #KT-61442 fixed #KT-61441 fixed
This commit is contained in:
committed by
Space Team
parent
84c6333b23
commit
b821009617
Vendored
+1
-1
@@ -57,7 +57,7 @@ fun test() {
|
||||
|
||||
<!OPT_IN_USAGE!>takeUBytes<!>(IMPLICIT_INT, EXPLICIT_INT, 42u)
|
||||
|
||||
takeLong(IMPLICIT_INT)
|
||||
takeLong(<!ARGUMENT_TYPE_MISMATCH!>IMPLICIT_INT<!>)
|
||||
|
||||
takeIntWithoutAnnotation(IMPLICIT_INT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user