Roman Artemev
a60782f3df
[JS IR] Add CLI argument to setup error tolerance policy
...
- Make sure dev mode is enabled if code with errors is allowed
2020-09-01 14:53:07 +03:00
Alexander Udalov
5e48be3d11
Add a fallback flag -Xno-unified-null-checks for KT-22275
...
#KT-41482 Fixed
2020-08-31 12:43:28 +02:00
Alexander Udalov
0ef4b22cf3
Remove deprecated usages of ContainerUtil
2020-08-20 20:30:34 +02:00
Ilya Chernikov
f713e8ad36
Set context classloader before REPL evaluation
...
#KT-35925 fixed
2020-08-19 15:17:06 +02:00
vldf
a26eeb6ee8
[FIR] Add CLI flag for running extended checkers
2020-08-18 21:53:07 +03:00
Alexander Udalov
a21f273570
Fix compiler warnings in compiler code
2020-08-17 21:18:20 +02:00
Mikhail Zarechenskiy
0c8b847ae6
Introduce compiler key to disable compatibility resolution mechanism
...
Enable it if one was using new inferene before 1.4
#KT-40128 Fixed
#KT-40112 Fixed
#KT-40113 Fixed
2020-07-10 14:23:45 +03:00
Alexander Gorshenev
e61960f333
Fake override construction fallback mode
2020-06-29 21:58:31 +03:00
Alexander Gorshenev
de79e3bec3
Added -Xdisable-fake-override-validator
2020-06-29 21:58:31 +03:00
Ilmir Usmanov
f127a0f593
Add flag to disable new spilled variable type analysis
2020-06-29 20:50:43 +02:00
Anton Bannykh
da79f93c61
JS IR: per-module .js generation support
2020-06-26 17:55:33 +03:00
Mathias Quintero
f0bc52222d
Fix annotation construction with array literals
...
Turns out the issue happens to be that ArrayValue uses a list of values which needs to be translated to an array of the percise type before it is used by callBy
This also addresses handling of arguments after a vararg in an annotation
2020-06-19 13:20:57 +02:00
simon.ogorodnik
cd9273028b
Profiling and repeat support for JVM CLI Compiler
2020-06-08 20:40:27 +03:00
Ilya Muradyan
489290263f
Add info about the end of range in scripting REPL compiler messages
2020-06-05 21:58:28 +02:00
Ilya Chernikov
5e33612238
Extract interface from CompilerMessageLocation to ease extension
...
The CompilerMessageLocation is an implicit part of the binary daemon
protocol so changing it breaks compatibility with older daemons.
This change allows to extend location for non-daemon uses without
breaking the binary protocol.
2020-06-05 21:58:27 +02:00
Ilya Chernikov
fb6ef38370
Revert "Add info about the end of range in scripting REPL compiler messages"
...
This reverts commit af251caf , because it breaks daemon/client
compatibility, which we'd like to keep as much as possible
2020-05-15 21:15:48 +02:00
Dmitriy Novozhilov
cb0a7a5bf7
[FIR] Rename FirExtensionRegistrarExtension to FirExtensionRegistrar
2020-05-08 15:09:57 +03:00
Dmitriy Novozhilov
a37975ab21
[FIR] Add compiler extension for plugin registration
2020-05-08 15:09:56 +03:00
Alexander Udalov
a0400f59c2
Add -Xskip-prerelease-check compiler argument
...
#KT-38070 Fixed
2020-05-07 13:24:26 +02:00
Mikhail Bogdanov
4f7599076c
Postpone JvmDefault deprecation. Revert "Deprecate @JvmDefault"
...
This reverts commit c11f3868
2020-05-04 10:02:16 +02:00
Alexander Udalov
94346e8a03
Add JVM target bytecode version 14
...
#KT-38413 Fixed
2020-04-28 13:00:23 +02:00
Ilya Matveev
e4f4b4eef0
[JS IR] Support setting custom module name (= unique name)
...
Required for #KT-36721.
2020-04-22 10:50:26 +07:00
Vladimir Dolzhenko
86a02c07f6
Fix KotlinNativeABICompatibilityChecker.getLibrariesToNotifyAbout freeze
...
Get rid of O(n^2) in copyProperties
make ModuleProductionSourceInfo.stableName lazy
add checkCanceled in loops in IdeaModelInfosCache
#KT-38318 Fixed
2020-04-18 11:36:21 +02:00
Ilya Muradyan
d2fec96f38
Add new REPL API JVM implementation
2020-04-16 21:16:08 +02:00
Ilya Muradyan
af251cafa4
Add info about the end of range in scripting REPL compiler messages
2020-04-16 21:16:08 +02:00
Dmitry Petrov
ac5411c32e
Command-line option disabling KotlinNothingValueException generation
2020-04-16 19:38:30 +03:00
Dmitriy Dolovov
757d77600a
HMPP: Evaluate exact TargetPlatform for each K/N KLIB library
2020-04-14 21:07:38 +07:00
Dmitriy Dolovov
fee6a752e0
HMPP: Fix serialization of TargetPlatform in Kotlin facet
2020-04-14 21:07:22 +07:00
Dmitriy Dolovov
8d2e999776
HMPP: Parameterize NativePlatform with KonanTarget
2020-04-14 21:06:48 +07:00
Mikhail Bogdanov
0ddef7e4e4
Add new options for '-Xjvm-default'
2020-04-09 07:37:33 +02:00
Alexander Gorshenev
97be5617ca
Renamed -Xklib-mpp to -Xexpect-actual-linker to reduce user confusion
2020-04-08 05:23:12 +03:00
Dmitriy Dolovov
5f5f219367
Keep KonanPlatformKt.isNative for backward compatibility
2020-04-01 11:46:43 +07:00
Dmitriy Dolovov
9bbfe9c1ac
Rename: KonanPlatform, KonanPlatforms -> NativePlatform, NativePlatforms
2020-03-29 23:20:52 +07:00
Alexander Udalov
87da4be9bb
Move parametersMap.kt to 'cli-common'
...
Also reformat and slightly refactor it. This allows to get rid of
dependency of 'util' on 'kotlin-reflect-api'.
2020-03-28 21:30:08 +01:00
Alexander Udalov
4dcd0d1cb6
Extract module 'config' out of 'frontend'
...
Also move deprecated TargetPlatform there. This allows to get rid of the
dependency cli.common -> frontend, and even on frontend.common.
2020-03-28 21:30:05 +01:00
Alexander Udalov
143aef938b
Extract module 'js.config' out of 'js.frontend'
...
This allows to get rid of dependency cli.common -> js.frontend.
2020-03-28 21:30:05 +01:00
Alexander Udalov
15d2a06132
Extract module 'config.jvm' out of 'frontend.java'
...
This allows to get rid of dependency cli.common -> frontend.java.
2020-03-28 21:30:04 +01:00
Alexander Udalov
4aa47be202
Move CommonResolverForModuleFactory to 'frontend'
...
This will allow to get rid of dependency of 'cli-common' on 'frontend'.
2020-03-28 21:30:04 +01:00
Alexander Udalov
9e014e462b
Do not use CommonPlatforms directly in CommonResolverForModuleFactory
...
This allows to get rid of dependency of this code on CommonPlatforms,
which depends on all platforms (JVM, JS, Native), and eventually move it
to 'frontend'.
2020-03-28 21:30:03 +01:00
Alexander Udalov
a9f7ff254b
Add -Xno-optimized-callable-references to disable KT-27362 optimization
...
This argument is useful in situations where the stdlib version which the
code compiles against is different from the one which is available at
runtime, such as the case of kotlin-gradle-plugin, which depends on the
compiler/stdlib compiled by 1.4, but may be executed in Gradle where
only 1.3.x is available.
#KT-37435
2020-03-13 10:07:22 +01:00
Zalim Bashorov
2a7e32d3ae
[JS IR DCE] Add CLI option to print reachability info
2020-03-11 12:54:39 +03:00
Georgy Bronnikov
6af099c11a
Typo fix
2020-03-11 11:03:58 +03:00
Sergey Igushkin
3858c8e1f8
Support friend internal visibility in K2Metadata compiler (KT-37264)
...
Add and handle the friend paths and refines paths compiler arguments;
Reuse klib dependency module descriptors in the resolver for project;
Issue #KT-37264
2020-03-06 15:56:40 +03:00
Zalim Bashorov
6f61ea7f67
[JS DCE] Add an ability to define overwriting strategy when copying dependencies in dev-mode
...
* CLI option "-Xdev-mode-overwriting-strategy"
* System Property "kotlin.js.dce.devmode.overwriting.strategy"
Possible values: "older", "all".
#KT-36349 Fixed
2020-02-20 19:10:29 +03:00
Alexander Udalov
dc7b1fbff9
JVM IR: report warning instead of error for language/API version 1.2
...
This is needed for testing JVM IR on existing projects which for some
reason are still on Kotlin 1.2.
2020-02-10 17:32:18 +01:00
Pavel Kirpichenkov
fee72839bf
Report error if IR is enabled with incorrect language version
...
^KT-36338 Fixed
2020-02-07 16:10:03 +03:00
Anton Bannykh
1e96c3d21e
DCE-driven mode
...
:js:js.tests:jsIrTest works same as before
:js:js.tests:jsPirTest runs tests in DCE-driven mode
2020-02-06 21:03:41 +03:00
Pavel Kirpichenkov
a5d201e263
Exclude unsupported language versions from gradle options
...
^KT-36146 Fixed
2020-02-05 20:15:17 +03:00
Pavel Kirpichenkov
f530c0c903
minor: reformat
2020-02-05 20:15:17 +03:00
Pavel Kirpichenkov
9902643a26
Remove unsupported versions from kotlin compiler tab in settings
...
KT-36146 In progress
2020-01-29 21:40:50 +03:00