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 14:02:40 +04:00
parent ccd4158ac9
commit 319bbf28a0
9 changed files with 106 additions and 75 deletions
@@ -1,7 +1,7 @@
import java.util.List;
public class Test {
private static final <error descr="Incompatible types. Found: 'java.util.List<java.lang.Class<? extends java.io.Serializable & java.lang.Cloneable>>', required: 'java.util.List<java.lang.Class<?>>'">List<Class<?>> PRIMITIVE_ARRAY_TYPES = asList(byte[].class, int[].class);</error>
private static final <error descr="Incompatible types. Found: 'java.util.List<java.lang.Class<? extends java.lang.Cloneable & java.io.Serializable>>', required: 'java.util.List<java.lang.Class<?>>'">List<Class<?>> PRIMITIVE_ARRAY_TYPES = asList(byte[].class, int[].class);</error>
private static final List<?> PRIMITIVE_ARRAY_TYPES1 = asList(byte[].class, int[].class);
public static <T> List<T> asList(T... a) {