IDEA-125909 Groovy: trait methods accessed via 'super' are not resolved.

Use LinkedHashSet for PsiIntersectionType for order forcing.
This commit is contained in:
Max Medvedev
2014-06-18 13:46:40 +04:00
parent ccd4158ac9
commit 319bbf28a0
9 changed files with 106 additions and 75 deletions

View File

@@ -13,8 +13,8 @@ class Test {
{
Object o1 = (Serializable & I) () -> {};
Object o2 = (I & Serializable) () -> {};
Object o3 = (I & Runnable) <error descr="Multiple non-overriding abstract methods found in Runnable & I">() -> {}</error>;
Object o4 = (A & Runnable) <error descr="Multiple non-overriding abstract methods found in Runnable & A">() -> {}</error>;
Object o3 = (I & Runnable) <error descr="Multiple non-overriding abstract methods found in I & Runnable">() -> {}</error>;
Object o4 = (A & Runnable) <error descr="Multiple non-overriding abstract methods found in A & Runnable">() -> {}</error>;
Object o5 = (Runnable & A) <error descr="Multiple non-overriding abstract methods found in Runnable & A">() -> {}</error>;
}
}