Added check for incompatible variance modifiers and repeated modifiers

This commit is contained in:
Svetlana Isakova
2014-12-19 17:37:22 +03:00
parent d2becce1ac
commit 7b09e85717
38 changed files with 310 additions and 79 deletions
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public class ArrayTypeVariance {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.util.*
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.util.*
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.util.*
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.util.*
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait ChangeProjectionKind1 {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritNotVararg {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritNotVarargInteger {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritNotVarargNotNull {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritProjectionKind {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritVarargNotNull {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritProjectionKind {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait SameProjectionKind {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait TwoSuperclassesConflictingProjectionKinds {