From ab5397879374fa4f4d52accedab27cab964723e0 Mon Sep 17 00:00:00 2001 From: Stanislav Erokhin Date: Fri, 16 Dec 2016 00:39:27 +0300 Subject: [PATCH] Allowed ast access for some tests. --- .../compiledKotlin/annotations/types/SupertypesAndBounds.kt | 2 ++ compiler/testData/loadJava/compiledKotlin/coroutines/Basic.kt | 2 ++ .../testData/loadJava/compiledKotlin/type/SuspendFunction.kt | 2 ++ .../NotImportedExtensionFunction3.dependency.kt | 2 ++ 4 files changed, 8 insertions(+) diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/types/SupertypesAndBounds.kt b/compiler/testData/loadJava/compiledKotlin/annotations/types/SupertypesAndBounds.kt index ac54f390317..6c5ccc84d01 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/types/SupertypesAndBounds.kt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/types/SupertypesAndBounds.kt @@ -1,3 +1,5 @@ +//ALLOW_AST_ACCESS + package test annotation class A diff --git a/compiler/testData/loadJava/compiledKotlin/coroutines/Basic.kt b/compiler/testData/loadJava/compiledKotlin/coroutines/Basic.kt index e9b8a2837be..2c5c279bf9e 100644 --- a/compiler/testData/loadJava/compiledKotlin/coroutines/Basic.kt +++ b/compiler/testData/loadJava/compiledKotlin/coroutines/Basic.kt @@ -1,3 +1,5 @@ +//ALLOW_AST_ACCESS + package test class Controller { suspend fun suspendFun() {} diff --git a/compiler/testData/loadJava/compiledKotlin/type/SuspendFunction.kt b/compiler/testData/loadJava/compiledKotlin/type/SuspendFunction.kt index 04a8a0dadfb..e61c47200b9 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/SuspendFunction.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/SuspendFunction.kt @@ -1,3 +1,5 @@ +//ALLOW_AST_ACCESS + package test fun test1(): suspend () -> Unit = null!! diff --git a/idea/idea-completion/testData/basic/multifile/NotImportedExtensionFunction3/NotImportedExtensionFunction3.dependency.kt b/idea/idea-completion/testData/basic/multifile/NotImportedExtensionFunction3/NotImportedExtensionFunction3.dependency.kt index d55d4b4675c..98cf5182e97 100644 --- a/idea/idea-completion/testData/basic/multifile/NotImportedExtensionFunction3/NotImportedExtensionFunction3.dependency.kt +++ b/idea/idea-completion/testData/basic/multifile/NotImportedExtensionFunction3/NotImportedExtensionFunction3.dependency.kt @@ -17,3 +17,5 @@ fun Function1.helloFun5() { fun Any.helloAny() { } + +// ALLOW_AST_ACCESS