Change MISSING_CONSTRUCTOR_KEYWORD severity to error
And adjust testData
This commit is contained in:
+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