Ilya Kirillov
ef0160c026
[analysis api] rename ValidityToken -> KtLifetimeToken
2022-05-12 16:15:02 +02:00
Alexander Shabalin
d77041aad0
[K/N] Move all knowledge about CompileToBitcode to the plugin.
...
Merge-request: KT-MR-6215
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-05-12 12:20:31 +00:00
Dmitriy Novozhilov
2796d21ec6
[FIR] Create snapshot of tower data context for postponed callable referneces
...
This fixes an issue if type of some implicit receiver was changed because
of changed smartcast in outer scope
^KT-51228 Fixed
2022-05-12 12:15:31 +03:00
Dmitriy Novozhilov
118073e5d6
[FIR] Cleanup code of transforming callable references
2022-05-12 12:15:31 +03:00
Dmitriy Novozhilov
4301b05e15
[FE] Add API version 1.9
...
^KT-52208 In progress
2022-05-12 12:14:11 +03:00
Alexander Shabalin
89afa4c5b5
[K/N] Use mimalloc for kotlin objects only ^KT-52130
...
Merge-request: KT-MR-5805
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-05-12 08:48:37 +00:00
Ilya Chernikov
6b09ace099
FIR LT: fix bootstrap compilation error
...
if the existing list in the FRIENDS_PATH config property created with
Arrays.asList, it contains non-extendable list, and attempt to use
addAll on it leads to an exception.
2022-05-12 08:45:40 +02:00
Dmitry Gridin
30b0b09faa
[jps] tests: add missing dependency to jar
...
^KTIJ-20456
2022-05-12 13:04:44 +07:00
Dmitry Gridin
4450368c42
[jps][tests] make test compatible with ide plugin
...
testModuleRebuildOnPluginClasspathsChange
^KTIJ-20456
2022-05-12 12:46:54 +07:00
Dmitry Gridin
c1838cc4f3
[jps] js-ir-runtime-for-ide: remove redundant empty jars
...
^KTIJ-20456
2022-05-12 11:29:22 +07:00
Sergey Bogolepov
b091f1d551
[K/N] Disable test-case for KT-50983.
2022-05-11 18:34:28 +00:00
Sergey Bogolepov
6a8ebeb1bc
[K/N] Test case for KT-50983
2022-05-11 18:34:27 +00:00
Sergey Bogolepov
0b5b07f6e2
[K/N] Update MinGW dependencies
...
Include fixes for KT-50983 and KT-48558
2022-05-11 18:34:27 +00:00
Mads Ager
7bab9a1389
Minor tweaks to HACKING.md.
2022-05-11 19:58:12 +03:00
Mads Ager
46086027c5
Remove duplicate isNullConst extension functions from IrUtils2.
2022-05-11 19:58:12 +03:00
Mads Ager
876cc472b4
Remove unused debug info functions.
...
These functions return the underlying buffer for a std::string
which you should never do as it is only valid while the std::string
is in scope.
2022-05-11 19:58:12 +03:00
Mads Ager
3d4e025602
Remove variable that is only ever written and never read.
2022-05-11 19:58:12 +03:00
Ilya Goncharov
75bc90f512
rra/ilgonmic/KT-52221-dry-run-with-empty-nodejs
...
[Gradle, JS] Disable for wasm
[Gradle, JS] Add test on mocha with dry run should report test state
[Gradle, JS] When run in dry mode, we need special adapter which not run tests
Merge-request: KT-MR-6205
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
^KT-52221 fixed
2022-05-11 13:27:31 +00:00
Ilya Kirillov
ecbf9cd4d5
[analysis api] fix ISE: No conversion was found for SYNTAX
...
^KT-51786 fixed
2022-05-11 13:14:44 +02:00
Ilya Kirillov
6e0eba7e00
[low level api] fix ISE: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl for CheckDslScopeViolation
2022-05-11 13:14:44 +02:00
Pavel Kunyavskiy
9801a21abb
[K/N] Enable new mm for native by default
2022-05-11 10:26:13 +00:00
Ilya Goncharov
b739344b1c
[Gradle, JS] DCE and minimized names could be falsify
...
[Gradle, JS] Add test on falsify compiler flags
[Gradle, JS] DCE and minimized names could be falsify
Merge-request: KT-MR-6167
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
^KT-51957 fixed
2022-05-11 08:51:22 +00:00
Yahor Berdnikau
9850b97ea7
Remove excessive logging
2022-05-10 23:43:55 +02:00
Yahor Berdnikau
1537b2ed3d
Update duckduckgo regression benchmarks
...
Make it compatible with Kotlin 1.7.0 release.
2022-05-10 23:43:55 +02:00
Vyacheslav Gerasimov
6bb36bc5e1
Fix flaky android robolectric tests
...
#KTI-842
2022-05-10 23:42:55 +04:00
Dmitriy Novozhilov
be76cd39d2
[JS] Ignore some tests due to KT-52339
2022-05-10 16:16:55 +00:00
Dmitriy Novozhilov
67e6c7955c
Advance bootstrap to 1.7.20-dev-984
2022-05-10 16:16:55 +00:00
Ilya Kirillov
bc92831475
[analysis api] fix ArrayIndexOutOfBoundsException on KtDiagnostic creation
...
The problem was caused by concurrent access to the non-thread safe List.
This list is not needed anymore, previously it was used to store strong
references to FIR diagnostics corresponding references in KtDiagnostics
were weak references.
^KTIJ-21449 fixed
2022-05-10 15:39:28 +00:00
konstantin.tskhovrebov
8b9e91568f
KT-49032: Add default framework header search path for Cocoapod cinterop
...
Similarly Cocoapods logic
https://github.com/CocoaPods/CocoaPods/blob/d18f49392c5e9ed9a2cdcb2ee89391cf7690ee5d/lib/cocoapods/target/build_settings.rb#L1188
2022-05-10 15:10:00 +00:00
Yahor Berdnikau
b5449f6ed3
Exclude Android asset-pack and asset-pack-bundle plugins
...
'kotlin-android' plugins will not try to configure the project, when
any of these two plugins are applied. Usually these plugins are used
to handle Android resources and no compilation is required.
^KT-51898 Fixed
2022-05-10 13:48:02 +00:00
Vyacheslav Gerasimov
e9346a7f2c
Build: fix disable.verification.tasks property
2022-05-10 15:07:31 +04:00
Ilmir Usmanov
4f53b085ec
Do not override collection stub, if the override is suspend
...
but the stub is not. The other way around should be OK.
#KT-52237 Fixed
2022-05-09 23:16:58 +00:00
pyos
b19b265735
JVM_IR: generate continuation classes for suspend inline references
...
This is somewhat suboptimal since this results in `::suspendInline`
generating 2 classes while `{ suspendInline() }` only creates 1, but
it's the best allowed by the existing hierarchy of classes in stdlib. At
least it works?
^KT-50832 Fixed
2022-05-09 23:15:05 +00:00
Victor Petukhov
9f31f074da
[FE 1.0] Take care callable reference candidates with recursive candidate return type
...
^KT-51844 Fixed
2022-05-09 19:23:43 +00:00
Victor Petukhov
ec6ec20728
[FE 1.0] Fix subtyping for captured integer literal types
...
^KT-50877 Fixed
2022-05-09 19:23:42 +00:00
Ilya Kirillov
7395f8e019
[low level api] consider property type parameters when matching FIR and PSI declarations
2022-05-09 16:09:02 +00:00
Ilya Kirillov
875da1ea1e
[low level api] consider return type when matching FIR and PSI declarations
2022-05-09 16:09:01 +00:00
Victor Petukhov
7675361380
[FE 1.0] Continue completion of calls inside that builder inference call postponed type variables of which has already been inferred
2022-05-09 12:38:39 +00:00
Victor Petukhov
b8030ec1de
[FIR] Substitute lambda implicit receivers with builder inference stub types
...
^KT-51988 Fixed
2022-05-09 12:38:38 +00:00
Victor Petukhov
6027c2a9aa
[FE] Substitute fixed type variables with inferred stub types
...
Actually, a type variable might be fixed into a stub type. Such stub type should be substituted before sub calls completion
^KT-51988 Fixed
2022-05-09 12:38:37 +00:00
Yahor Berdnikau
92df5cd67f
Revert usage of NormalizeLineEndings
...
This annotation causes wrong UP-TO-DATE checks leading to unexpected
build failures.
^KT-52313 Fixed
2022-05-09 11:15:38 +00:00
Yahor Berdnikau
6a901c79a5
Add Gradle test for KT-51913
2022-05-09 11:42:21 +02:00
Jinseong Jeon
e830778b46
AA: fix typo in StandaloneProjectFactory
2022-05-09 00:22:53 +02:00
Jinseong Jeon
754a41eb13
LL: handle jrt in LLFirJavaFacadeForBinaries
2022-05-09 00:22:53 +02:00
Jinseong Jeon
3f05ba04a9
AA: add JDK_HOME as dependent SDK module
2022-05-09 00:22:52 +02:00
Jinseong Jeon
af32a65c78
AA: use existing utils to define library scope
...
No visible differences from end clients, and we can avoid uses/shares of
Jar file system across modules
2022-05-09 00:22:52 +02:00
Victor Petukhov
94433a1600
[FE 1.0] Postpone turning NON_VARARG_SPREAD_WARNING into error till 1.8 to have a deprecation cycle of proper duration
...
^KT-48162
2022-05-08 10:49:16 +02:00
Sergey Bogolepov
a8fc2158d0
[K/N] Use toolchainDependency for Linux as well
2022-05-07 13:09:52 +00:00
Sergey Bogolepov
db16acb788
[K/N] introduce toolchainDependency property for MinGW
...
Move all usages of `msys2-mingw-w64-*` dependency to a single
`toolchainDependency` property. It simplifies dependency overriding.
2022-05-07 13:09:51 +00:00
Vyacheslav Gerasimov
7157a54155
Fix unnecessary usages of Locale.getDefault()
2022-05-06 22:08:25 +00:00