Kirill Rakhman
5b4409e34c
[FIR] Store abbreviated type in deserialized declarations as attribute
...
#KT-58542 Fixed
2023-09-20 09:31:29 +00:00
Ivan Kochurkin
8e72f60996
[FIR] Fix missing RETURN_TYPE_MISMATCH for labeled return statements
...
in lambda functions, ^KT-59907 Fixed
2023-09-20 09:06:37 +00:00
Kirill Rakhman
2e4d486131
[FIR] Use enhanced scope to guess array type in annotation loading
...
Otherwise, we return null for any java annotation because the
unenhanced scope doesn't contain any properties.
#KT-61856 Fixed
2023-09-20 08:02:37 +00:00
Dmitriy Dolovov
c4da53475e
[JS][tests] Drop obsolete EXPECT_ACTUAL_LINKER test directive
...
This directive was earlier used in KMP tests that were rewritten
and do not require this directive anymore.
^KT-61136
2023-09-20 07:54:36 +00:00
Dmitriy Dolovov
70d12b271d
[Native][tests] Drop obsolete EXPECT_ACTUAL_LINKER test directive
...
This directive was earlier used in KMP tests that were rewritten
and do not require this directive anymore.
^KT-61136
2023-09-20 07:54:36 +00:00
Dmitriy Dolovov
249106b23f
[KLIB] Drop obsolete tests on serialization of expect IR declarations
...
These tests are muted for all KLIB-oriented platforms for a long time
and are no more relevant since the removal of ExpectActualTable.
^KT-61136
2023-09-20 07:54:36 +00:00
Ilya Kirillov
b25185530f
[Analysis API Standalone] use compiler FirSymbolProvider for standalone mode
...
^KT-61371 fixed
2023-09-20 07:47:59 +00:00
Ilya Kirillov
d377d87c77
[LL FIR] refactoring, add service accessor for LLFirLibrarySymbolProviderFactory
...
^KT-61371
2023-09-20 07:47:59 +00:00
Ilya Kirillov
9c50308954
[LL FIR] refactoring, rename LLFirLibrarySymbolProviderFactory.createJvmFirDeserializedSymbolProviders -> createJvmLibrarySymbolProvider
...
to match the behavior
^KT-61371
2023-09-20 07:47:59 +00:00
Ilya Kirillov
cce8bc6f83
[LL FIR] refactoring, use Project from project session constructor for implementations of LLFirLibrarySymbolProviderFactory
...
^KT-61371
2023-09-20 07:47:59 +00:00
Ilya Kirillov
2422fc6df3
[LL FIR] refactoring, extract LLFirLibrarySymbolProviderFactory implementation to the standalone module
...
^KT-61371
2023-09-20 07:47:59 +00:00
Ilya Kirillov
575c7ea0d9
[LL FIR] refactoring, rename JvmFirDeserializedSymbolProviderFactory
...
so it can be used not only for JVM
^KT-61371
2023-09-20 07:47:59 +00:00
Ilya Gorbunov
93b107000a
[stdlib-mpp] Remove stdlib projects no longer included in build
2023-09-20 01:07:59 +00:00
Ilya Gorbunov
222f996d45
[stdlib-mpp] Cleanup kotlin.stdlib.mpp build flag (always true)
2023-09-20 01:07:59 +00:00
Sergej Jaskiewicz
00fa09dbf3
[IR generator] Use ImplementationKind instead of Element.Kind
...
This is a step towards commonizing the code generator between
FIR and IR: KT-61970
2023-09-19 22:19:37 +00:00
Sergej Jaskiewicz
af5a93f5ff
[IR generator] Use TypeKind from the common module, share it with FIR
...
This is a step towards commonizing the code generator between
FIR and IR: KT-61970
2023-09-19 22:19:37 +00:00
Sergej Jaskiewicz
0dd01279da
[FIR generator] Move Implementation.Kind to common module
...
This is a step towards commonizing the code generator between
FIR and IR: KT-61970
2023-09-19 22:19:37 +00:00
Sergej Jaskiewicz
e62343427d
[FIR generator] Move Field and FieldContainer to common module
...
This is a step towards commonizing the code generator between
FIR and IR: KT-61970
2023-09-19 22:19:37 +00:00
Sergej Jaskiewicz
982b9221b4
[FIR generator] Move ArbitrarilyImportable class to common module
...
This is a step towards commonizing the code generator between
FIR and IR: KT-61970
2023-09-19 22:19:37 +00:00
Sergej Jaskiewicz
7a6bffaabb
[FIR generator] Move Importable interface to common module
...
This is a step towards commonizing the code generator between
FIR and IR: KT-61970
2023-09-19 22:19:37 +00:00
Nikolay Lunyak
ec9cb8beb6
[FIR] Rename JvmNames -> JvmStandardClassIds
...
This is more consistent with the code of
the common compiler checkers.
It would be nice to refactor the contents
of this object further, but it's out
of scope of the current branch.
^KT-54596
2023-09-19 22:14:09 +00:00
Nikolay Lunyak
986f1624ec
[FIR] Remove jvm-specific annotations from common compiler code
...
^KT-54596 Fixed
2023-09-19 22:14:09 +00:00
Ilmir Usmanov
f7a2da8f82
Minor. Add regression test for KT-41997
...
#KT-41997 Fixed
2023-09-19 20:11:57 +00:00
Artem Kobzar
94eefba824
[K/Wasm] Optimize range checks
2023-09-19 17:04:41 +00:00
Ilya Goncharov
24e8c9c90d
[Gradle, Wasm] Add nodeJs setup task dependency to wasi test task
...
^KT-61971 fixed
2023-09-19 16:54:42 +00:00
Mikhail Glukhikh
46093c686e
KotlinVersionsTest: temporary convert to language update state
...
#KT-59171 Fixed
2023-09-19 15:46:31 +00:00
Mikhail Glukhikh
a40951d65d
Reformat KotlinVersionsTest
2023-09-19 15:46:31 +00:00
Mikhail Glukhikh
d1e4e6cc2e
LV 2.0: drop wrong comment on testRawTypes (KT-62043)
2023-09-19 15:46:31 +00:00
Mikhail Glukhikh
02961b7712
LV 2.0: fix Native Gradle integration test data
2023-09-19 15:46:31 +00:00
Anton Lakotka
232bbda076
[Gradle] Disable Kapt4.testKt18799 for K2
...
Until KT-61845 is fixed
^KT-61845
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Anton Lakotka
79778877c2
[Gradle] Add missing kotlin-compiler-args plugin for test
...
This will ensure that language version is set correctly.
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Anton Lakotka
c3ab626c63
[Gradle] Enable K2 support for sample compiler plugin
...
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
3e1f4c11dc
LV 2.0: drop a duplicating CLI test
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
198aa675cc
LV 2.0: add "not existing source path" test which uses K2
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
e4b70e7788
LV 2.0: update some CLI tests with warnings to use DIVISION_BY_ZERO warning
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
e5906a8a3a
LV 2.0: remove CLI tests covering quite obsolete legacy
2023-09-19 15:46:30 +00:00
Ilya Chernikov
e5ee364419
IC: Implement expect/actual tracking
...
fixes NewMultiplatformIT.testIncrementalCompilation
also #KT-61590 fixed
2023-09-19 15:46:30 +00:00
Ilya Chernikov
9ed23a7f07
Scripting: fix supplementary test jar compilation
...
make its version consistent with compilation of the script
that uses it
2023-09-19 15:46:30 +00:00
Ivan Kochurkin
30899e4bbf
Remove CLI tests that become duplicated/unneeded after switching to 2.0
2023-09-19 15:46:30 +00:00
Anton Lakotka
88f0acfc79
[Gradle] Fix CInterop test after migration to K2
...
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Ilya Chernikov
0aff76141b
Fix comment on testScriptWithoutParams
2023-09-19 15:46:30 +00:00
Vladimir Sukharev
ef5346e62e
[K/N] Use enforced property PIPELINE_TYPE in CompilerOutputTest to avoid duplicated "-language-version" setting.
2023-09-19 15:46:30 +00:00
Anton Lakotka
e23801fdfc
[Gradle] Add missing depends on relation in test data project
...
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
db03cd8cd7
LV 2.0: update diagnostic message in MPP integration test
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
b7735506b0
LV 2.0: use bootstrapped Native bundle
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
7c68e73816
LV 2.0: fix test data in HierarchicalMppIT.testProjectDependencies
...
This commit contains two kind of fixes:
1) K2 does not create entries for empty subpackages anymore,
so for the file with 'package foo.bar.baz' it creates an entry
only for the main package 'foo.bar.baz' and not for 'foo' or 'foo.bar'
2) K2 uses changed format of the classpath for third party common lib,
now it looks like other dependencies 'name-of-lib-<version>-commonMain'
instead of 'name-of-lib-metadata-<version>'
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
556f3ee8d5
K2: use LATEST_STABLE in compiler tests instead of explicit 2.0
2023-09-19 15:46:29 +00:00
Anton Lakotka
58b0d6ffa8
[Gradle] Update MppHighlightingTestDataWithGradleIT for K2
...
^KT-61106 Verification Pending
2023-09-19 15:46:29 +00:00
Anton Lakotka
c290a44f2b
[Gradle] Update UnnamedTaskInputsIT to use correct MPP project
...
And fix incorrect code in hierarchical-mpp-multi-modules
^KT-61106 Verification Pending
2023-09-19 15:46:29 +00:00
Anton Lakotka
311b4c2deb
[Gradle] Remove tests related to Legacy Metadata Compilation
...
it is no longer supported in k2
^KT-61817
^KT-61106 Verification Pending
2023-09-19 15:46:29 +00:00