Change format of -X arguments to require value after '='

Report a warning when an argument is passed in the old form (with the
whitespace)

 #KT-17264 Fixed
This commit is contained in:
Alexander Udalov
2017-04-05 16:42:43 +03:00
parent 78c0111c6e
commit f4b6db4dc0
22 changed files with 100 additions and 73 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ compileBuiltinsKotlin {
freeCompilerArgs = [
"-version",
"-Xallow-kotlin-package",
"-Xdump-declarations-to", "${buildDir}/runtime-declarations.json",
"-Xdump-declarations-to=${buildDir}/runtime-declarations.json",
"-cp", "${rootDir}/../dist/builtins",
"-module-name", "kotlin-runtime"
]
@@ -113,7 +113,7 @@ compileKotlin {
"-version",
"-Xallow-kotlin-package",
"-Xmultifile-parts-inherit",
"-Xdump-declarations-to", "${buildDir}/stdlib-declarations.json",
"-Xdump-declarations-to=${buildDir}/stdlib-declarations.json",
"-module-name", project.name
]
}
+1 -1
View File
@@ -48,7 +48,7 @@ compileKotlin {
kotlinOptions.freeCompilerArgs = [
"-Xallow-kotlin-package",
"-Xmultifile-parts-inherit",
"-Xdump-declarations-to", "${buildDir}/stdlib-jre7-declarations.json",
"-Xdump-declarations-to=${buildDir}/stdlib-jre7-declarations.json",
"-module-name", project.name
]
}
+1 -1
View File
@@ -50,7 +50,7 @@ compileKotlin {
kotlinOptions.freeCompilerArgs = [
"-Xallow-kotlin-package",
"-Xmultifile-parts-inherit",
"-Xdump-declarations-to", "${buildDir}/stdlib-jre8-declarations.json",
"-Xdump-declarations-to=${buildDir}/stdlib-jre8-declarations.json",
"-module-name", project.name
]
}