[FE 1.0] Fix some diagnostic tests

This commit is contained in:
Dmitriy Novozhilov
2021-07-21 16:41:39 +03:00
committed by Mikhael Bogdanov
parent c9c82ab3a6
commit 7250aed3b5
5 changed files with 17 additions and 17 deletions
@@ -7,9 +7,9 @@ fun fooShort(p: Short) = p
fun test() {
fooInt(1 % 1)
fooByte(<!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 % 1<!>)
fooLong(<!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 % 1<!>)
fooShort(<!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 % 1<!>)
fooByte(<!TYPE_MISMATCH!>1 % 1<!>)
fooLong(<!TYPE_MISMATCH!>1 % 1<!>)
fooShort(<!TYPE_MISMATCH!>1 % 1<!>)
}
public operator fun Int.<!EXTENSION_SHADOWED_BY_MEMBER!>rem<!>(other: Int): Int = 0