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:
Alexander Udalov
2014-04-16 16:44:51 +04:00
parent 146498ec32
commit 1deb55bfde
7 changed files with 31 additions and 32 deletions
@@ -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 {}