Added check for incompatible variance modifiers and repeated modifiers
This commit is contained in:
+4
-1
@@ -4,4 +4,7 @@ package d
|
||||
|
||||
fun test() {
|
||||
f()
|
||||
}
|
||||
}
|
||||
|
||||
var g: Int = 1
|
||||
<!PACKAGE_MEMBER_CANNOT_BE_PROTECTED!>protected<!> set(i: Int) {}
|
||||
Reference in New Issue
Block a user