diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/TopDownAnalysisMode.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/TopDownAnalysisMode.kt index 84f6f406f2e..2ae88b93122 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/TopDownAnalysisMode.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/TopDownAnalysisMode.kt @@ -17,6 +17,6 @@ package org.jetbrains.kotlin.resolve public enum class TopDownAnalysisMode(public val isLocalDeclarations: Boolean) { - LocalDeclarations : TopDownAnalysisMode(true) - TopLevelDeclarations : TopDownAnalysisMode(false) + LocalDeclarations(true), + TopLevelDeclarations(false) } diff --git a/core/builtins/src/kotlin/Inline.kt b/core/builtins/src/kotlin/Inline.kt index 26b265d7c21..7145d4b5423 100644 --- a/core/builtins/src/kotlin/Inline.kt +++ b/core/builtins/src/kotlin/Inline.kt @@ -43,7 +43,7 @@ public enum class InlineStrategy { * Specifies that the body of the inline function together with the bodies of the lambdas passed to it * is generated as a separate method invoked from the calling function. */ - AS_FUNCTION + AS_FUNCTION, /** * Specifies that the body of the inline function together with the bodies of the lambdas passed to it @@ -71,7 +71,7 @@ public enum class InlineOption { /** * This option hasn't been implemented yet. */ - LOCAL_CONTINUE_AND_BREAK + LOCAL_CONTINUE_AND_BREAK, /** * If this option is specified, lambdas may not use non-local return statements (statements which return from diff --git a/js/js.libraries/src/core/regex.kt b/js/js.libraries/src/core/regex.kt index 2ba2504b3a3..767a277ba9d 100644 --- a/js/js.libraries/src/core/regex.kt +++ b/js/js.libraries/src/core/regex.kt @@ -24,12 +24,12 @@ import java.util.ArrayList */ public enum class RegexOption(val value: String) { /** Enables case-insensitive matching. */ - IGNORE_CASE : RegexOption("i") + IGNORE_CASE("i"), /** Enables multiline mode. * * In multiline mode the expressions `^` and `$` match just after or just before, * respectively, a line terminator or the end of the input sequence. */ - MULTILINE : RegexOption("m") + MULTILINE("m") }