Change MISSING_CONSTRUCTOR_KEYWORD severity to error
And adjust testData
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class Foo private(val param: String = "OK") {
|
||||
class Foo private constructor(val param: String = "OK") {
|
||||
companion object {
|
||||
val s = Foo()
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
var state: String = "Fail"
|
||||
|
||||
class A private(x: String = "OK") {
|
||||
class A private constructor(x: String = "OK") {
|
||||
init {
|
||||
state = x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user