Add positioning strategy for diagnostics on illegal fake overrides
"funcitonTypes.kt" test data file was changed because now that there is a positioning strategy, it takes the liberty of filtering out those diagnostics that were reported on syntactically invalid elements
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
class <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>A<!> : (categoryName: <!SYNTAX!><!>) <!SYNTAX!>{<!SYNTAX!><!><!>
|
||||
class A : (categoryName: <!SYNTAX!><!>) <!SYNTAX!>{<!SYNTAX!><!><!>
|
||||
@@ -0,0 +1,13 @@
|
||||
trait D {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
trait E {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
object Impl : D, E {
|
||||
override fun foo() {}
|
||||
}
|
||||
|
||||
val obj: D = <!MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>object<!> : D by Impl, E by Impl {}
|
||||
Reference in New Issue
Block a user