Disable callable references to suspend functions in 1.2
#KT-25604: Fixed
This commit is contained in:
@@ -789,7 +789,8 @@ public class KotlinTestUtils {
|
||||
|
||||
boolean isReleaseCoroutines =
|
||||
!coroutinesPackage.contains("experimental") ||
|
||||
isDirectiveDefined(expectedText, "LANGUAGE_VERSION: 1.3");
|
||||
isDirectiveDefined(expectedText, "LANGUAGE_VERSION: 1.3") ||
|
||||
isDirectiveDefined(expectedText, "!LANGUAGE: +ReleaseCoroutines");
|
||||
|
||||
testFiles.add(factory.createFile(supportModule,
|
||||
"CoroutineUtil.kt",
|
||||
|
||||
Reference in New Issue
Block a user