Minor, add JvmField to a constant
This commit is contained in:
+2
-2
@@ -23,10 +23,10 @@ public data class CompilerMessageLocation private constructor(
|
|||||||
public val lineContent: String?
|
public val lineContent: String?
|
||||||
) {
|
) {
|
||||||
override fun toString(): String =
|
override fun toString(): String =
|
||||||
path + (if (line != -1 || column != -1) " (" + line + ":" + column + ")" else "")
|
path + (if (line != -1 || column != -1) " ($line:$column)" else "")
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
@JvmStatic
|
@JvmField
|
||||||
public val NO_LOCATION: CompilerMessageLocation = CompilerMessageLocation(null, -1, -1, null)
|
public val NO_LOCATION: CompilerMessageLocation = CompilerMessageLocation(null, -1, -1, null)
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
|
|||||||
Reference in New Issue
Block a user