Report conflicting signatures that are purely inherited from traits

When all signatures are inherited from traits, the origin elements lie outside of the class in question
This commit is contained in:
Andrey Breslav
2014-06-05 14:26:23 +04:00
parent 1343e59eb9
commit 55cfa161c7
5 changed files with 33 additions and 3 deletions
@@ -7,5 +7,5 @@ trait T2 {
get() = 1
}
<!CONFLICTING_JVM_DECLARATIONS!>class C : T1, T2<!> {
class <!CONFLICTING_JVM_DECLARATIONS!>C<!> : T1, T2 {
}