Introduce inspection to detect vals might be marked as const
So #KT-20644 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
const val y = 0
|
||||
|
||||
class Your {
|
||||
companion object {
|
||||
@JvmField val <caret>z = y + 3
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user