Support "-language-version" CLI option for compatibility with older releases

Introduce LanguageFeatureSettings, instance of which should be injected by the
container and be accessible everywhere during the compilation (front-end and
back-end).

Parameters of LanguageFeatureSettings are unused in this commit, will be used
later
This commit is contained in:
Alexander Udalov
2016-05-10 22:12:35 +03:00
parent ec0f21c887
commit e1ba4480d7
25 changed files with 169 additions and 41 deletions
+1
View File
@@ -10,6 +10,7 @@ where possible options include:
-main {call,noCall} Whether a main function should be called; default 'call' (main function will be auto detected)
-output-prefix <path> Path to file which will be added to the beginning of output file
-output-postfix <path> Path to file which will be added to the end of output file
-language-version <version> Provide source compatibility with specified language version
-nowarn Generate no warnings
-verbose Enable verbose logging output
-version Display compiler version
+1
View File
@@ -9,6 +9,7 @@ where possible options include:
-script Evaluate the script file
-kotlin-home <path> Path to Kotlin compiler home directory, used for runtime libraries discovery
-module-name Module name
-language-version <version> Provide source compatibility with specified language version
-nowarn Generate no warnings
-verbose Enable verbose logging output
-version Display compiler version
+1
View File
@@ -10,6 +10,7 @@ where possible options include:
-script Evaluate the script file
-kotlin-home <path> Path to Kotlin compiler home directory, used for runtime libraries discovery
-module-name Module name
-language-version <version> Provide source compatibility with specified language version
-nowarn Generate no warnings
-verbose Enable verbose logging output
-version Display compiler version