Sergey Bogolepov
170c19d293
[K/N] Update SDK versions for iOS/watchOS/tvOS
2022-11-17 17:37:14 +00:00
Sergey Bogolepov
c465d8248c
[K/N] Update macOS SDK to Xcode 14.1
2022-11-17 17:37:13 +00:00
Sergey Bogolepov
360046a33c
[K/N] xcode 14.1 rc2
2022-11-17 17:37:13 +00:00
Sergey Bogolepov
719bc025f1
[K/N] Fix platform libs for macOS 14.1 SDK.
...
Apply the same CFCGTypes.def hack as we did for other platforms.
2022-11-17 17:37:12 +00:00
Sergey Bogolepov
fc5ea570f0
[K/N] Bump macOS SDK version
2022-11-17 17:37:12 +00:00
Sergey Bogolepov
7830a68424
[K/N] Bump Xcode dependency to 14.1 RC
2022-11-17 17:37:12 +00:00
vladislav.grechko
36b8ba8df3
Improve support of custom equals in inline classes
...
- Ensure that typed equals parameter's type is a star projection of
corresponding inline class
- Make possible to declare typed equals that returns 'Nothing'
- Forbid type parameters in typed equals operator declaration
^KT-54909 fixed
^KT-54910 fixed
2022-11-17 15:35:14 +01:00
Artem Vasilev
02484baf07
[FIR] Set Java constructor source to Java class's when it's implicit
...
When there are no declared constructors in Java class, make
javaConstructor's source element point to the class declaration,
making it possible to navigate from constructor's invocation there.
^KTIJ-22360 Fixed
2022-11-17 13:18:30 +00:00
Nikita Bobko
f05fe1d46d
Drop outdated KDoc and fix findSourceFirDeclarationByExpression signature
...
Review: https://jetbrains.team/p/kt/reviews/7690
Make findSourceFirDeclarationByExpression signature more specific.
`KtDeclaration` is an inheritor of `KtExpression`
`KtLambdaExpression` was changed to `KtFunctionLiteral` in
c24ad0ba51 . I run analysis-api-fir tests
and ensured that `KtFunctionLiteral` appears in runtime instead of
`KtFunctionLiteral`
So `ktDeclaration` should be either `KtDeclaration` or
`KtFunctionLiteral`. But we don't need a KDoc for that because
`KtFunctionLiteral` is an inheritor of `KtDeclaration`, so type-system
already checks this invariant
2022-11-17 13:19:45 +01:00
Jinseong Jeon
6caf384bad
AA FIR: handle Java annotation vararg values
2022-11-17 12:58:14 +01:00
Dmitrii Gridin
a0f4c674f5
[AA] KtCallableReceiverRenderer: add annotations renderer
...
^KT-54417
2022-11-17 09:50:19 +00:00
Dmitrii Gridin
5ab07c2c00
[FIR] ConversionUtils: add todo
...
^KT-54417
^KT-55002
2022-11-17 09:50:19 +00:00
Dmitrii Gridin
cdd311d1da
Revert "[FIR] simplify receiver parameter creation"
...
This reverts commit ad60b345
^KT-54417
2022-11-17 09:50:18 +00:00
Dmitrii Gridin
b672949820
[AA] replace KtCallableReceiverTypeRenderer with KtCallableReceiverRenderer
...
^KT-54417
2022-11-17 09:50:18 +00:00
Dmitrii Gridin
032026278c
fix compilation and testData after rebase
...
^KT-54417
2022-11-17 09:50:17 +00:00
Dmitrii Gridin
d0a420fad9
[FIR] FirCallCompleter: simplify code
...
^KT-54417
2022-11-17 09:50:17 +00:00
Dmitrii Gridin
86422d0944
[FIR] FirReceiverParameter: rename type to typeRef
...
^KT-54417
2022-11-17 09:50:17 +00:00
Dmitrii Gridin
40c64c672d
[FIR] FirRenderer: render receiver annotation
...
^KT-54417
2022-11-17 09:50:16 +00:00
Dmitrii Gridin
649bf92d98
[FIR] simplify receiver parameter creation
...
^KT-54417
2022-11-17 09:50:16 +00:00
Dmitrii Gridin
ef5a3303b2
[FIR] FirBasedSymbol: add internal annotation for internal things
...
^KT-54417
2022-11-17 09:50:15 +00:00
Dmitrii Gridin
d6fbcef85a
[FIR IR] add more strict type for explicit receiver
...
^KT-54417
2022-11-17 09:50:15 +00:00
Dmitrii Gridin
3cd85a4622
[FIR] drop redundant receiver copy
...
^KT-54417
2022-11-17 09:50:15 +00:00
Dmitrii Gridin
f67030f035
[FIR IR] DumpIrTree: drop irrelevant change
...
^KT-54417
2022-11-17 09:50:14 +00:00
Dmitrii Gridin
a5d56e1877
[FIR] DebugSymbolRenderer: fix typo
...
^KT-54417
2022-11-17 09:50:14 +00:00
Dmitrii Gridin
b40d329751
[FIR] FirAnnotationBuilder: drop redundant buildAnnotationCopy
...
^KT-54417
2022-11-17 09:50:13 +00:00
Dmitrii Gridin
22cfea5058
[FIR] introduce KtFakeSourceElementKind.ReceiverFromType
...
^KT-54417
2022-11-17 09:50:13 +00:00
Dmitrii Gridin
8cd404c84c
[FIR IR] FirMetadataSerializer: replace some buildReceiverParameter with buildReceiverParameterCopy
...
^KT-54417
2022-11-17 09:50:13 +00:00
Dmitrii Gridin
d0cc88ffe0
[AA] KtCallableSymbol: introduce receiverType extension
...
^KT-54417
2022-11-17 09:50:12 +00:00
Dmitrii Gridin
1ebfbc0ee9
[AA] KtCallableSymbol: rename receiver to receiverParameter
...
^KT-54417
2022-11-17 09:50:12 +00:00
Dmitrii Gridin
6b41d8c1e4
[AA] FirLoadCompiledKotlinGenerated: update testData
...
^KT-54417
2022-11-17 09:50:11 +00:00
Dmitrii Gridin
33281770c7
[FIR IR] support FirReceiverParameter
...
^KT-54417
2022-11-17 09:50:11 +00:00
Dmitrii Gridin
07aec4de8f
[FIR] migrate OptIn checker to receiver parameter
...
^KT-54417
2022-11-17 09:50:11 +00:00
Dmitrii Gridin
2741052db3
[AA] integrate KtReceiverParameterSymbol to KtCallableSymbol
...
^KT-54417
2022-11-17 09:50:10 +00:00
Dmitrii Gridin
b333a214ca
[AA K1] KtFe10PsiAnonymousFunctionSymbol: fix receiver
...
^KT-54417
2022-11-17 09:50:10 +00:00
Dmitrii Gridin
37d688ae83
[AA] introduce FirReceiverParameter
...
^KT-54417
2022-11-17 09:50:09 +00:00
Dmitrii Gridin
be7d282974
[FIR] introduce FirReceiverParameter
...
^KT-54417
2022-11-17 09:50:09 +00:00
Anton Bannykh
e6801abce8
JS IR: move IC tests output to build/ dir
2022-11-17 09:24:54 +00:00
Aleksei.Cherepanov
123caee0ed
Revert "Suppress warning for mvn+kapt+jdk9"
...
This reverts commit 3fc91b01
2022-11-17 08:45:27 +01:00
Sebastian Sellmair
bbd8aed419
[Gradle] kgp-idea: Update api reference
...
KT-54825
2022-11-17 07:38:45 +00:00
Sebastian Sellmair
071395ef62
[Gradle] Rename IdePlatformDependencyResolver to IdePlatformBinaryDependencyResolver
...
^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair
ee7989eb3b
[Gradle] Implement tests for IdePlatformDependencyResolver
...
^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair
bc9296d646
[Gradle] Implement IdePlatformDependencyResolver
...
(ported from IdeaKpmPlatformDependencyResolver)
^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair
e15812f196
[Gradle] kgp-idea: Update testedVersion to 1.8.20-dev-2253 for compatibility tests
...
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair
b44be0d761
[Gradle][Minor] kgp-idea-proto: Avoid capturing project in test task
...
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair
bc4644a031
[Gradle] Remove Internal marker from DefaultKotlinSourceSet
...
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair
7c00f6447d
[Gradle] Implement IdeaKotlinDependencyForwardCompatibilityTest
...
KT-54825
2022-11-17 07:38:42 +00:00
Sebastian Sellmair
66cb2b3ad8
[Gradle] Implement IdeaKotlinDependencyBackwardsCompatibilityTest
...
KT-54825
2022-11-17 07:38:42 +00:00
Sebastian Sellmair
31b7fd9a1f
[Gradle] Implement TestIdeaKotlinDependencySerializer
...
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair
0fa92315ff
[Gradle] kgp-idea: Update testedVersion to 1.8.20-dev-2192 for compatibility tests
...
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair
7e1ad71996
[Gradle] kgp-idea: Demote stdlib dependency to compileOnly
...
KT-54825
2022-11-17 07:38:41 +00:00