Files
kotlin-fork/analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevelWithFileSuppression.kt
T
Marco Pennekamp 88d307d52c [AA] Add tests for diagnostics suppression on top-level declarations and class members
- `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
2023-11-13 10:20:26 +00:00

11 lines
129 B
Kotlin
Vendored

@file:Suppress("CONFLICTING_OVERLOADS")
class SomeClass
fun someFun(): SomeClass {
return SomeClass()
}
fun someFun() {
}