Mikhail Glukhikh
570189e833
Mark deprecated 'useExperimental' with IDEAPluginsCompatibilityAPI
2022-02-21 14:33:10 +00:00
Simon Ogorodnik
2a7aa2f240
FirTypeResolver. Prohibit resolving FirResolvedTypeRef
2022-02-21 12:23:26 +00:00
Simon Ogorodnik
bf3a3caee6
FIR. Do not re-resolve parts of intersection types
2022-02-21 12:23:26 +00:00
Simon Ogorodnik
857fe985b2
FIR tree. Make intersection type part-types non-null
2022-02-21 12:23:25 +00:00
Simon Ogorodnik
9c727e6d5d
FIR. Fix currentFile unset in specific type resolver in some cases
2022-02-21 12:23:25 +00:00
Yahor Berdnikau
9943b146e9
Remove 'kotlinPluginVersion' property
...
^KT-47318 Fixed
2022-02-21 09:46:42 +00:00
Yahor Berdnikau
9d0d26e15d
Restore 'KotlinGradleSubplugin' as marker interface.
...
This avoids build failure in 'buildSrc' module with 'kotlin-dsl' applied
with 'ClassNotFound' exception.
^KT-51378 Fixed
2022-02-21 09:42:23 +00:00
Ilya Goncharov
2173ce77d5
rra/ilgonmic/fork-options-js-test
...
[Gradle, JS] Environment instead of fork options
[Gradle, JS] Add test on fork options
[Gradle, JS] Add fork options to kotlin js test
Merge-request: KT-MR-5793
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
^KT-51414 fixed
2022-02-21 08:41:29 +00:00
Aleksei.Cherepanov
46c0c4f9d9
Fix creation of temp file in case of bad parent dir
...
createTempFile can fail, if you pass non-existent path to kotlin.jps.dir.for.module.files or java.io.tmpdir. Now we try to create non-existent dirs and provide more info if it also fails
#KTIJ-17280 Fixed
2022-02-21 08:34:11 +00:00
Ilya Matveev
f7468cf9bc
[K/N][stdlib] Support \V, \v, \H, \h, \R in regex engine
...
Issue #KT-50742 Fixed
2022-02-21 13:20:23 +07:00
Yahor Berdnikau
798a15c450
Fix flaky native test.
2022-02-18 19:37:07 +03:00
sebastian.sellmair
4a02e88df1
[KPM] kotlin-gradle-plugin-idea: Publish sources and javadoc jars
...
KT-51262
KT-51220
2022-02-18 16:31:06 +00:00
Alexander Udalov
e5e5970883
JVM IR: workaround indirect dependency between lowerings
...
#KT-51353 Fixed
2022-02-18 17:04:18 +01:00
Dmitry Petrov
3b3734f0bb
JVM_IR simplify RenameFieldsLowering
2022-02-18 15:37:42 +00:00
Dmitry Petrov
7f95d7f414
IR make 'name' a var
2022-02-18 15:37:42 +00:00
Yan Zhulanow
0860ff6542
Add module ':compiler:frontend.common.jvm' to the JPS plugin
...
New module was added in '52baf7338edcbc877e2ca1b0c7b63665d15f0e80',
however unless it's present in the 'compilerModulesForJps' list,
it's not packed inside the JPS plugin.
2022-02-18 23:54:29 +09:00
Dmitriy Novozhilov
d4d22b0dcf
[FIR] Add plugin prototype for testing extension for injection receivers
2022-02-18 17:52:34 +03:00
Dmitriy Novozhilov
83179f4482
[FIR] Add extension for injecting new implicit receivers after resolution of function call
2022-02-18 17:52:34 +03:00
Dmitriy Novozhilov
e7e1aa1873
[Build] Add ability to enable rendering of diagnostic names via local.properties
2022-02-18 17:44:45 +03:00
Dmitriy Novozhilov
3d48f9926f
[Build] Update version of kotlin-build-gradle-plugin to 0.0.35
2022-02-18 17:44:44 +03:00
Dmitriy Novozhilov
00031f7321
[Build] Add missing md5 hashes to verification-metadata.xml
2022-02-18 17:44:44 +03:00
Dmitriy Novozhilov
74d36634bf
[Build] Add renderDiagnosticNames property to kotlin build gradle plugin
2022-02-18 17:44:43 +03:00
Dmitriy Novozhilov
baf300a815
[StdLib] Suppress INVISIBLE_REFERENCE alongside with INVISIBLE_MEMBER
...
This is needed to successful compilation of stdlib with FIR compiler
2022-02-18 17:44:43 +03:00
Dmitriy Novozhilov
aef752a8cb
[StdLib] Add -Xbuiltins-from-sources to arguments of stdlib for JVM
...
This flag is needed to successful compilation of stdlib with FIR compiler
2022-02-18 17:44:42 +03:00
Dmitriy Novozhilov
a1fb4d3990
[FIR2IR] Add signature of class to error message if symbol is already bound
2022-02-18 17:44:42 +03:00
Dmitriy Novozhilov
c116565c0e
[FIR] Allow named arguments for calls of expect functions
2022-02-18 17:44:41 +03:00
Dmitriy Novozhilov
44bfb6fde8
[FIR] Don't register FirJavaElementFinder for common session
2022-02-18 17:44:40 +03:00
Dmitriy Novozhilov
b47cc86c57
[FIR] Fix incorrect context usages with withSuppressedDiagnostics call
2022-02-18 17:44:40 +03:00
Dmitriy Novozhilov
ccb74b6477
[FIR] Fix computing compatibility of expect and actual modality
2022-02-18 17:44:39 +03:00
Dmitriy Novozhilov
e1d21d7a37
[Test] Enable MultiPlatformProjects in multiplatform tests by default
2022-02-18 17:44:39 +03:00
Dmitriy Novozhilov
23af5510a6
[FIR] Render full declaration header in diagnostic messages
2022-02-18 17:44:38 +03:00
Dmitriy Novozhilov
2fa6425965
[LL] Add proper equals and hashCode for KtModuleBasedModuleData
2022-02-18 17:44:37 +03:00
Dmitriy Novozhilov
851305f981
[FIR] Allow smartcasts on member properties for classes from dependsOn dependencies
2022-02-18 17:44:37 +03:00
Dmitriy Novozhilov
aeb68f956c
[FIR] Turn LEAKED_IN_PLACE_LAMBDA into a warning
2022-02-18 17:44:36 +03:00
Dmitriy Novozhilov
6105271d41
[FIR] Make internal declarations from dependsOn dependent modules visible
2022-02-18 17:44:36 +03:00
Dmitriy Novozhilov
ab1ff7baf5
[FIR] Prioritize source dependencies in dependency provider
2022-02-18 17:44:35 +03:00
Yahor Berdnikau
283ba353e7
Remove useless cast in jvm toolchain scripts
2022-02-18 15:40:35 +01:00
Anastasia.Shadrina
4b366ddcf6
[BE JVM] KT-51271 Set proper indices generating contextual inline call
...
[Tests] Test inline call with context receivers and default params
2022-02-18 15:55:43 +03:00
Dmitry Gridin
dc210fa6ef
[light classes] KtUltraLightParameterForSetterParameter: simplify equals
...
^KTIJ-21151
2022-02-18 17:41:05 +07:00
Dmitry Gridin
30b7c4689b
[light classes] KtUltraLightParameterForDescriptor: fix descriptor leak
...
^KTIJ-21151
2022-02-18 17:41:05 +07:00
Anastasia.Shadrina
4bc7b0c366
[BE JVM] KT-51352 Do not mix extension and context receivers in suspends
2022-02-18 13:39:36 +03:00
Dmitry Gridin
47f0a84c7a
[light classes] fix equals for parameters
...
UltraLightClassLoadingTestGenerated.testConstructors
SafeDeleteTestGenerated$KotlinValueParameterWithJava
^KTIJ-21151
2022-02-18 16:29:24 +07:00
Ilmir Usmanov
28b60d7e61
Add another flavor to android tests
2022-02-18 08:50:25 +00:00
Dmitriy Novozhilov
8993d5d2eb
[Build] Detach :liraries:tools:dukat module from root gradle project
...
This is needed to prevent leaking dependency on `dukat:0.5.8-rc.4` into
dependency of Kotlin project after import to IDE. This jar contains
unshaded classes of some outdated compiler version and it confuses
IDEA tooling (like debugger), so it shows those classes instead of
real sources from project
2022-02-18 07:30:50 +00:00
Andrey Uskov
4bd61c75d0
Fixed collection of performance metrics if file output is not enabled
2022-02-18 10:11:28 +03:00
sebastian.sellmair
5ef90b4279
[KPM] kotlin-gradle-plugin-idea: bump minimalBackwardsCompatibleVersion
...
KT-51262
KT-51220
2022-02-17 20:19:34 +00:00
sebastian.sellmair
06625f63df
[KPM] Mark IdeaKotlinFragmentDependencyImpl.Companion as internal
...
KT-51262
KT-51220
2022-02-17 20:19:33 +00:00
sebastian.sellmair
592be6c8b5
[KPM] Remove kotlinScripting.xml
...
KT-51262
KT-51220
2022-02-17 20:19:33 +00:00
sebastian.sellmair
21d6c11bbb
[KPM] Implement test to check if data classes are marked as internal
...
KT-51262
KT-51220
2022-02-17 20:19:32 +00:00
sebastian.sellmair
fa13e38e91
[KPM] Reformat IdeaKotlinProjectModelObjectGraphTest
...
KT-51262
KT-51220
2022-02-17 20:19:32 +00:00