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

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public class ArrayTypeVariance {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.util.*

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.util.*

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.util.*

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.util.*

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait ChangeProjectionKind1 {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritNotVararg {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritNotVarargInteger {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritNotVarargNotNull {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritProjectionKind {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritVarargNotNull {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait InheritProjectionKind {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait SameProjectionKind {

View File

@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait TwoSuperclassesConflictingProjectionKinds {