Enum entry delimiters / super constructors: a few remaining warnings removed
This commit is contained in:
@@ -17,6 +17,6 @@
|
|||||||
package org.jetbrains.kotlin.resolve
|
package org.jetbrains.kotlin.resolve
|
||||||
|
|
||||||
public enum class TopDownAnalysisMode(public val isLocalDeclarations: Boolean) {
|
public enum class TopDownAnalysisMode(public val isLocalDeclarations: Boolean) {
|
||||||
LocalDeclarations : TopDownAnalysisMode(true)
|
LocalDeclarations(true),
|
||||||
TopLevelDeclarations : TopDownAnalysisMode(false)
|
TopLevelDeclarations(false)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
* 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.
|
* 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
|
* 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.
|
* 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
|
* If this option is specified, lambdas may not use non-local return statements (statements which return from
|
||||||
|
|||||||
@@ -24,12 +24,12 @@ import java.util.ArrayList
|
|||||||
*/
|
*/
|
||||||
public enum class RegexOption(val value: String) {
|
public enum class RegexOption(val value: String) {
|
||||||
/** Enables case-insensitive matching. */
|
/** Enables case-insensitive matching. */
|
||||||
IGNORE_CASE : RegexOption("i")
|
IGNORE_CASE("i"),
|
||||||
/** Enables multiline mode.
|
/** Enables multiline mode.
|
||||||
*
|
*
|
||||||
* In multiline mode the expressions `^` and `$` match just after or just before,
|
* In multiline mode the expressions `^` and `$` match just after or just before,
|
||||||
* respectively, a line terminator or the end of the input sequence. */
|
* respectively, a line terminator or the end of the input sequence. */
|
||||||
MULTILINE : RegexOption("m")
|
MULTILINE("m")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user