Minor, pass coroutines state explicitly in maven plugin

This commit is contained in:
Alexander Udalov
2017-04-14 21:08:33 +03:00
parent dc5e51f4ac
commit 027b83a252
2 changed files with 7 additions and 7 deletions
@@ -452,12 +452,9 @@ public abstract class KotlinCompileMojoBase<A extends CommonCompilerArguments> e
arguments.suppressWarnings = nowarn;
arguments.languageVersion = languageVersion;
arguments.apiVersion = apiVersion;
arguments.coroutinesState = experimentalCoroutines;
arguments.multiPlatform = multiPlatform;
if (experimentalCoroutines != null) {
compiler.parseArguments(new String[] { "-Xcoroutines=" + experimentalCoroutines }, arguments);
}
configureSpecificCompilerArguments(arguments);
try {