Anna Kozlova
06074e5e2d
fix compilation after merge
2023-01-13 23:35:07 +01:00
Svyatoslav Kuzmich
d14d4c8510
[Wasm] Support JsModule and JsQualifier
2023-01-13 21:58:34 +00:00
Svyatoslav Kuzmich
75d3ae4466
[Wasm] Don't try to lazy-initialize properties with 'definedExternally'
...
NFC for K/JS since externals live in a separate place
2023-01-13 21:58:33 +00:00
Svyatoslav Kuzmich
fd67464d14
[Wasm] Test infra: support _commonFiles and additional .mjs
...
Use custom `evalToBoolean` as `eval` and `unsafeCast` are not
available in Wasm stdlib
2023-01-13 21:58:33 +00:00
Svyatoslav Kuzmich
80e07d628b
[Wasm] Use ModuleKind.ES
...
As the only JS-interop module kind Wasm supports
2023-01-13 21:58:32 +00:00
Vladimir Dolzhenko
ca31307941
[AA] Add expectForActual
...
#KT-54864
Merge-request: KT-MR-8222
Merged-by: Vladimir Dolzhenko <Vladimir.Dolzhenko@jetbrains.com >
2023-01-13 21:36:04 +00:00
Ilya Kirillov
3afb93ca31
[FIR] fix resolve contract violation from ConeTypeContext.getValueClassProperties
...
^KT-54890
2023-01-13 21:32:52 +00:00
Ilya Kirillov
6204e43f3f
[FIR] fix resolve contract violation from FirTypeParameter.eraseToUpperBound
...
^KT-54890
2023-01-13 21:32:52 +00:00
Ilya Kirillov
1bbcae5ed2
[FIR] fix resolve contract violation from scopes
...
We cannot call lazy resolve to STATUS phase from scopes as scopes may be accessed on a STATUS phase or earlier
^KT-54890
^KTIJ-23587 fixed
2023-01-13 21:32:51 +00:00
Artem Daugel-Dauge
0d1e7e83b5
[K/N, CLI] Pass through errors from Gradle to Xcode
...
^KT-55650
Merge-request: KT-MR-8245
Merged-by: Artem Daugel-Dauge <Artem.Daugel-Dauge@jetbrains.com >
2023-01-13 20:54:05 +00:00
Yahor Berdnikau
a7cb58418b
Bump max AGP version in tests to 7.4.0
2023-01-13 20:38:17 +00:00
Anna Kozlova
86cc57ac39
[AA] allow navigation from '==' to the equals method of lhs
2023-01-13 20:14:30 +00:00
Ilya Kirillov
825432074f
[LL FIR] add checkCanceled check to the LLFirSessionFactory.createSourcesSession
...
^KTIJ-24012
2023-01-13 17:52:48 +00:00
Ilya Kirillov
729e2971ae
[LL FIR] do not create project module under non-cancelable section
...
It seems to be safe as we modify the caches atomically by updating LLFirSessionsCache.mappings.
So, PCE during project structure creation, should not break the caches
^KTIJ-24012 fixed
2023-01-13 17:52:47 +00:00
Pavel Kunyavskiy
5674722742
[K/N] Fix crash on exporting cached suspend function
...
^KT-55736
2023-01-13 16:28:53 +00:00
Alexander.Likhachev
25fb641da7
[Gradle, MPP] Slightly rework testAndroidMultiplatformPublicationAGPCompatibility
...
Each AGP version has its own compatible Gradle versions range. This commit adds additional version requirements for tests to respect AGP limitations
#KT-52998 In Progress
2023-01-13 16:28:00 +00:00
Alexander.Likhachev
16bf37b3f5
[Gradle, MPP] Add Gradle version requirements for AGP tests with version limits
...
Each AGP version has its own compatible Gradle versions range. This commit adds additional version requirements for tests to respect AGP limitations
#KT-52998 In Progress
2023-01-13 16:27:59 +00:00
Alexander.Likhachev
0574421117
[Gradle] Fix KotlinSpecificDependenciesIT.testRemoveKotlinTestDependency
...
It looks like we are doing hacky things in the test, but perhaps that's fine for test code
#KT-52998 In Progress
2023-01-13 16:27:59 +00:00
Alexander.Likhachev
e7fb07ff15
[Gradle, MPP] Adapt tests to the 7.5+ dependencyInsight task output format
...
#KT-52998 In Progress
2023-01-13 16:27:58 +00:00
Alexander.Likhachev
1e102d3e00
[Gradle, MPP] Suppress deprecation warnings for old AGP in AndroidAndJavaConsumeMppLibIT
...
There are deprecation warnings coming from AGP which have fixed since 7.3.0
#KT-52998 In Progress
2023-01-13 16:27:58 +00:00
Yahor Berdnikau
822c12c892
Bump max Gradle version to 7.5.1 in integration tests
...
#KT-52998 In Progress
2023-01-13 16:27:58 +00:00
Yahor Berdnikau
f90b447c7f
Add task to generate Kotlinlang reference
...
Based on the template from
https://github.com/JetBrains/kotlin-web-site/tree/master/dokka-templates .
Template itself is updated frequently and should be added by CI
configuration.
Generated reference has versioning support. Older generated references
should put into:
<project_dir>/<build_dir>/dokka/kotlinlangDocumentationOld
^KT-55520 Fixed
2023-01-13 16:16:09 +00:00
Yahor Berdnikau
d3ecb9a75f
Allow to reference Gradle API javadoc in generated documentation
...
^KT-55520 In Progress
2023-01-13 16:16:09 +00:00
Yahor Berdnikau
4de60879f0
Explicitly enable Dokka javadocs generation
...
Actually we don't need javadoc generation for our internal stuff like
':kotlin-gradle-plugin'. But ':kotlin-gradle-plugin-api' is a public api
and should have properly generated javadocs.
^KT-55520 In Progress
2023-01-13 16:16:08 +00:00
Yahor Berdnikau
18e9496ea4
Update dokka to 1.7.20 version
...
^KT-55520 In Progress
2023-01-13 16:16:08 +00:00
Ilya Kirillov
bba8064413
[FIR] mute lazy resolving contract check in a test where it was recently enabled
2023-01-13 15:57:06 +00:00
Ilya Kirillov
89f37816a8
[FIR] disable lazy resolve contract checks for FIR2IR
2023-01-13 15:57:06 +00:00
Ilya Kirillov
a55b4a977b
[FIR] refactoring: extract registration of lazy declaration resolve contract checking to a separate function in tests
2023-01-13 15:57:05 +00:00
Ilya Kirillov
747ab5fdb3
[FIR] get rid of FirFrontendFacadeForDiagnosticTests
2023-01-13 15:57:05 +00:00
Pavel Kirpichenkov
40f7360694
[cinterop] Deprecate CInteropSettings#getDependencyConfigurationName
...
KT-55908
KT-54974
2023-01-13 14:24:18 +00:00
Pavel Kirpichenkov
1d68012668
[MPP] CInterop import improvements
...
- Make cinterop header non-empty in a related test
- Remove ios target from the test to fix CI runs on linux hosts
- Use build dir repository instead of mavenLocal in the test
- Assert cinterop files from published projects
- Some minor refactorings
KT-54975
2023-01-13 14:24:17 +00:00
Pavel Kirpichenkov
9f15cc11a7
[MPP] Fix import of cinterops for non-leaf single target source sets
...
KT-54975
2023-01-13 14:24:17 +00:00
Pavel Kirpichenkov
7bae2303aa
[MPP] Support import of project-to-project cinterop dependencies
...
KT-54975
2023-01-13 14:24:17 +00:00
Pavel Kirpichenkov
424d1e23fc
[MPP] Improve displayed names for cinterop dependencies in import
...
KT-54974
2023-01-13 14:24:16 +00:00
Pavel Kirpichenkov
1c79e5a71a
Don't create individual Gradle configurations for every cinterop
...
Common configuration serves two purposes:
* Dependencies are the same for all cinterops of a single compilation
and can therefore be resolved only once in the single configuration
* Compilations without cinterops should be able to receive cinterop
dependencies from other projects, the updated configuration can be used
for that
KT-54975
2023-01-13 14:24:16 +00:00
Pavel Kirpichenkov
0e195b3ad0
[MPP] Simplify test
...
KT-54975
2023-01-13 14:24:15 +00:00
Pavel Kirpichenkov
7308583388
[MPP] Fix propagation of cinterops from associate compilations and leafs
...
KT-54975
2023-01-13 14:24:15 +00:00
Pavel Kirpichenkov
8a83870306
[MPP] Declare import resolver dependencies on tasks
...
KT-54975
2023-01-13 14:24:15 +00:00
Pavel Kirpichenkov
8bdd9b3837
[MPP] Add IT for cinterop commonization
...
KT-54975
2023-01-13 14:24:14 +00:00
Pavel Kirpichenkov
7e2a7579e8
[MPP] Initial support for cinterop import with KGP resolvers
...
KT-54975
2023-01-13 14:24:14 +00:00
Aleksei.Glushko
20e80401b2
[K/N] Hide throwable constructor frames from stack traces.
...
Merge-request: KT-MR-8242
Merged-by: Alexey Glushko <aleksei.glushko@jetbrains.com >
2023-01-13 14:14:40 +00:00
Mikhail Glukhikh
f20e5daa92
K2: fix property VS field resolve in anonymous class case
...
Related to KT-55017, KT-50082
2023-01-13 13:49:20 +00:00
Artem Kobzar
6a6308bef2
[K/JS] add miss StartProjection for the substitution inside lowerings ^KT-55852 Fixed
2023-01-13 13:28:42 +00:00
Mikhail Glukhikh
9542a8a07a
Inherit LowLevelFirFrontendFacade from FirFrontendFacade to remove duplicates
2023-01-13 12:56:01 +00:00
Ivan Kochurkin
c9a8f433fb
[FIR2IR] Temporary fix of createIrEnumEntry
...
Check if a bound entry with the same signature is already exist
2023-01-13 12:56:01 +00:00
Mikhail Glukhikh
ecc81098a6
Unbind FIR mangler from use-site session (by Simon Ogorodnik)
2023-01-13 12:56:01 +00:00
Mikhail Glukhikh
2237c964b5
ExpectActualCollector: pass parent isExpect through visitor to save perf
2023-01-13 12:56:00 +00:00
Mikhail Glukhikh
a1f051acf1
Fir2IrLazyProperty: drop unnecessary accessor rebinding attempts
2023-01-13 12:56:00 +00:00
Mikhail Glukhikh
890e3d1c10
FIR2IR/MPP: use single SymbolTable during MPP compilation
2023-01-13 12:56:00 +00:00
Mikhail Glukhikh
33daca6809
FIR2IR: don't merge symbol tables as it's no more needed
2023-01-13 12:55:59 +00:00