commit | 56401834f72ac7faae5334b38aa33fc0412555fa | [log] [tgz] |
---|---|---|
author | Nikolay Lunyak <nikolay.lunyak@jetbrains.com> | Wed Aug 09 16:04:00 2023 +0300 |
committer | Nikolay Lunyak <nikolay.lunyak@jetbrains.com> | Thu Aug 10 12:45:54 2023 +0300 |
tree | 71900c34937783de6a624baa92fdb42109a9cf0a | |
parent | 3743c521dc060415fea65f619f8cb5cedc4aee91 [diff] |
fixup! [FIR] Report UNSUPPORTED_SEALED_FUN_INTERFACE
diff --git a/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirSealedInterfaceAllowedChecker.kt b/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirSealedInterfaceAllowedChecker.kt index a58ea3f..4d7a15f 100644 --- a/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirSealedInterfaceAllowedChecker.kt +++ b/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirSealedInterfaceAllowedChecker.kt
@@ -1,5 +1,5 @@ /* - * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ @@ -23,6 +23,4 @@ val keyword = declaration.getModifier(KtTokens.SEALED_KEYWORD) ?: return reporter.reportOn(keyword.source, FirErrors.UNSUPPORTED_SEALED_FUN_INTERFACE, context) } -} - - +} \ No newline at end of file