Files
kotlin-fork/analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInNestedClass.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

15 lines
265 B
Kotlin
Vendored

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