88d307d52c
- `testConflictingOverloadsAtTopLevel` is currently disabled in FIR because it fails with a mismatch between diagnostics from the file and the individual elements. It will be enabled in the next commit. ^KT-62899
23 lines
434 B
Kotlin
Vendored
23 lines
434 B
Kotlin
Vendored
// IGNORE_FIR
|
|
// In FIR, there is currently a mismatch between the file's diagnostics and the individual elements' diagnostics, so we have to disable the
|
|
// FIR test. It will be fixed by KT-63221.
|
|
|
|
class SomeClass
|
|
|
|
fun someFun(): Int {
|
|
return 5
|
|
}
|
|
|
|
@Suppress("CONFLICTING_OVERLOADS")
|
|
fun someFun(): SomeClass {
|
|
return SomeClass()
|
|
}
|
|
|
|
@Suppress("CONFLICTING_OVERLOADS")
|
|
fun someFun() {
|
|
}
|
|
|
|
fun someFun(): String {
|
|
return ""
|
|
}
|