KT-1256 Error highlighting in IDE should be less annoying
#KT-1256 fixed
This commit is contained in:
@@ -10,7 +10,7 @@ trait T {
|
||||
}
|
||||
|
||||
class G : C(), T {
|
||||
<!CANNOT_INFER_VISIBILITY!>override<!> fun foo() {} //should be an error "cannot infer visibility"; for now 'public' is inferred in such cases
|
||||
<!CANNOT_INFER_VISIBILITY!>override fun foo()<!> {} //should be an error "cannot infer visibility"; for now 'public' is inferred in such cases
|
||||
}
|
||||
|
||||
open class A {
|
||||
|
||||
Reference in New Issue
Block a user