7615d863d5
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
13 lines
459 B
Plaintext
Vendored
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
|
|
^
|