Mark test data files for cases which can't be resolved without AST access

This commit is contained in:
Pavel V. Talanov
2014-04-10 18:37:39 +04:00
parent fd3d322300
commit a807712ce7
47 changed files with 47 additions and 0 deletions
@@ -1,3 +1,4 @@
// ALLOW_AST_ACCESS
package test
public class ClassWithConstVal() : java.lang.Object() {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public class FinalFieldAsVal() : java.lang.Object() {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public open class AnnotatedMethod() : java.lang.Object() {
@@ -1,3 +1,4 @@
// ALLOW_AST_ACCESS
package test
import java.util.*
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.lang.annotation.ElementType
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class A {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
deprecated("Class") class Class {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.lang.annotation.ElementType
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.lang.annotation.*
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
annotation class IntAnno(val value: Int)
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
annotation class Anno(val int: Int, val string: String, val double: Double)
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.lang.annotation.ElementType
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
annotation class Anno
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
annotation class Anno
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class ConstructorTypeParamClassObjectTypeConflict<test> {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public trait A<T> {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public object Obj {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public class Outer {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public class Outer {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public object Outer {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
public object Obj {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class ClassObjectDeclaresProperty {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class ClassObjectDeclaresProperty {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class A {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class TestFirst {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class Test {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
trait Test {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
fun ff(p: List<CharSequence>) = 1
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
import java.lang.CharSequence
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
fun fff(a: java.lang.Integer?) = 1
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
inline fun a() {}
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class ClassVal() {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class ClassVar() {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
val nsVal = 1
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
var nsVal = 1
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
open class BaseClass() {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
trait Trait {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
open class BaseClass() {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class A {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class ClassVal() {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
class ClassVal() {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
fun unit() = Unit.VALUE
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
trait A {
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
internal val x = 0
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
private fun topLevelFun() = 0
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
private val topLevelVal = 0
@@ -1,3 +1,4 @@
//ALLOW_AST_ACCESS
package test
internal var topLevelVar = 0