Files
Mikhail Glukhikh 7615d863d5 K2: add ACCIDENTAL_OVERRIDE_CLASH_BY_JVM_SIGNATURE for clashing functions
This diagnostic is reported on an explicitly-declared function which
overrides a regular Java function with the same signature as a hidden
one from the same scope.

#KT-64846 Fixed
2024-01-31 17:06:36 +00:00

13 lines
459 B
Plaintext
Vendored

/main.kt:18:16: error: the integer literal does not conform to the expected type String!
a.contains(1)
^
/main.kt:20:5: error: the integer literal does not conform to the expected type String!
1 in a
^
/main.kt:23:17: error: the integer literal does not conform to the expected type String
ka.contains(1)
^
/main.kt:25:5: error: the integer literal does not conform to the expected type String
1 in ka
^