Exclude coroutine inrinsics and internal packages

#KT-16018
This commit is contained in:
Denis Zharkov
2017-01-30 11:47:31 +03:00
parent b0ebbe99d6
commit 88b82d5fa2
8 changed files with 70 additions and 1 deletions
@@ -0,0 +1,13 @@
// "Import" "false"
// WITH_RUNTIME
// ACTION: Create local variable 'CoroutineImpl'
// ACTION: Create object 'CoroutineImpl'
// ACTION: Create parameter 'CoroutineImpl'
// ACTION: Create property 'CoroutineImpl'
// ACTION: Introduce local variable
// ACTION: Rename reference
// ERROR: Unresolved reference: CoroutineImpl
fun some() {
CoroutineImpl<caret>::class
}
@@ -0,0 +1,9 @@
// "Import" "false"
// WITH_RUNTIME
// ACTION: Create function 'suspendCoroutineOrReturn'
// ACTION: Rename reference
// ERROR: Unresolved reference: suspendCoroutineOrReturn
fun some() {
suspendCoroutineOrReturn<caret> {}
}