KT-34582 Exclude kotlin.coroutines.experimental package from completion and auto-import

- Exclusion happens only when `ReleaseCoroutines` feature is supported
- Add `LANGUAGE_VERSION` to few tests to make sure that previous exclusions still work when `experimental` package is not excluded entirely
- ^KT-34582 Fixed
This commit is contained in:
Roman Golyshev
2019-12-24 17:08:00 +03:00
committed by Roman Golyshev
parent 8399614de8
commit 42deb7db48
7 changed files with 34 additions and 0 deletions
@@ -1,5 +1,6 @@
// "Import" "false"
// WITH_RUNTIME
// LANGUAGE_VERSION: 1.2
// ACTION: Create local variable 'CoroutineImpl'
// ACTION: Create object 'CoroutineImpl'
// ACTION: Create parameter 'CoroutineImpl'
@@ -1,5 +1,6 @@
// "Import" "false"
// WITH_RUNTIME
// LANGUAGE_VERSION: 1.2
// ACTION: Create function 'suspendCoroutineOrReturn'
// ACTION: Rename reference
// ERROR: Unresolved reference: suspendCoroutineOrReturn