Dmitriy Novozhilov
|
86404b8027
|
[FIR] Implement IR body generators for all FIR declarations generators in plugin prototype
|
2021-12-03 14:17:34 +03:00 |
|
Dmitriy Novozhilov
|
9a0e73e132
|
[FIR] Fix IR file entries for files with generated declarations
|
2021-12-03 14:17:32 +03:00 |
|
Anton Bannykh
|
7b5fbb2985
|
[IR] add a TODO for the privateSignature
|
2021-12-03 12:58:25 +03:00 |
|
Anton Bannykh
|
4de69fb4b5
|
[JS IR] store signatures for private symbols separately from public
Those signatures are used in JS IR IC
|
2021-12-03 12:58:24 +03:00 |
|
Anton Bannykh
|
cb3538db92
|
Revert "[IR] support storing signatures for non-public symbols"
This reverts commit 33cd7e982c.
|
2021-12-03 12:58:24 +03:00 |
|
Mikhael Bogdanov
|
0997207c7c
|
Apply -Xjvm-default for specific modules only
|
2021-12-03 06:39:38 +01:00 |
|
Mikhael Bogdanov
|
c0ffbe03c6
|
Remove '-Xjvm-default-allow-non-default-inheritance' flag. Enable such inheritance by default
#KT-47000 Fixed
|
2021-12-03 06:39:38 +01:00 |
|
Ilya Kirillov
|
19dec92247
|
Analysis API: rework declaration renderer
- refactor code to use PrettyPrinter instead of ad-hoc one
- do not print nested local declarations as this does not seem to have use-cases
|
2021-12-02 20:09:18 +01:00 |
|
Ilya Kirillov
|
673459580c
|
Analysis API: introduce annotation value for KClass
|
2021-12-02 20:09:16 +01:00 |
|
Ilya Kirillov
|
f722a54c78
|
Analysis API: separate constant values from annotation values
|
2021-12-02 20:09:16 +01:00 |
|
Anastasiya Shadrina
|
2d088196ce
|
[FE] Fill DESCRIPTOR_TO_CONTEXT_RECEIVER_MAP only with CR enabled
|
2021-12-02 20:25:06 +03:00 |
|
Anastasiya Shadrina
|
9e2271399e
|
[FE] Render context receivers for functions, properties, and classes
|
2021-12-02 20:25:05 +03:00 |
|
Anastasiya Shadrina
|
a70f2893c6
|
[BE] Report if there are CR labels during InlineCodegen
|
2021-12-02 20:25:01 +03:00 |
|
Anastasiya Shadrina
|
2b30c1eb5d
|
[FE] Do not change original semantics in LabelResolver
|
2021-12-02 20:25:00 +03:00 |
|
Anastasiya Shadrina
|
5d76f979cf
|
[Tests] Minor: add FIR_IDENTICAL to typeParameterAsContextReceiver.kt
|
2021-12-02 20:24:59 +03:00 |
|
Anastasiya Shadrina
|
a70036c945
|
[Tests] Add a test with type parameter as a context receiver
|
2021-12-02 20:24:58 +03:00 |
|
Anastasiya Shadrina
|
752bc299f1
|
[FE, Tests] Passing context(A, B) where context(B, A) expected
|
2021-12-02 20:24:56 +03:00 |
|
Anastasiya Shadrina
|
08570a37b8
|
[PSI2IR] Check how contextual functional type works with IR
|
2021-12-02 20:24:56 +03:00 |
|
Anastasiya Shadrina
|
a59b9e78ac
|
[PSI2IR] Numeric promotion doesn't involve context receivers
|
2021-12-02 20:24:54 +03:00 |
|
Anastasiya Shadrina
|
a760865767
|
[PSI2IR] Generate safe calls correctly
|
2021-12-02 20:24:54 +03:00 |
|
Anastasiya Shadrina
|
229a009828
|
[PSI2IR] Revert synthetic property accessor call adjustment do can't have CR
|
2021-12-02 20:24:53 +03:00 |
|
Anastasiya Shadrina
|
7a86b4f20a
|
[PSI2IR] Synthetic property accessor call adjustment do can't have CR
|
2021-12-02 20:24:52 +03:00 |
|
Anastasiya Shadrina
|
4d0eb74d79
|
[Tests] Make sure desugaring works with context receivers
|
2021-12-02 20:24:52 +03:00 |
|
Anastasiya Shadrina
|
0bfea4fc52
|
[IR, Tests] Fix functionalType sample
|
2021-12-02 20:24:51 +03:00 |
|
Anastasiya Shadrina
|
bd4e51f304
|
[FE, PSI2IR] Pass context receivers when calling typealias constructor
|
2021-12-02 20:24:50 +03:00 |
|
Anastasiya Shadrina
|
fb99df235e
|
[Tests] Regenerate tests after rebase
|
2021-12-02 20:24:49 +03:00 |
|
Anastasiya Shadrina
|
6f2b1ecb09
|
[Tests] Specify custom LF in AbstractVersionRequirementTest
|
2021-12-02 20:24:48 +03:00 |
|
Anastasiya Shadrina
|
2e97e78e6a
|
[Tests] Add tests with default params and suspending contextual function
|
2021-12-02 20:24:48 +03:00 |
|
Anastasiya Shadrina
|
cd2fbfed2e
|
[IR] Add context receivers count to KotlinIr.proto
|
2021-12-02 20:24:47 +03:00 |
|
Anastasiya Shadrina
|
3900c2a604
|
[FE] Store receiver labels differently
|
2021-12-02 20:24:46 +03:00 |
|
Anastasiya Shadrina
|
17f24319d0
|
[IR, Tests] Add context receivers count to IR dump
|
2021-12-02 20:24:46 +03:00 |
|
Anastasiya Shadrina
|
4372670dfa
|
[FE] Minor: remove redundant check
|
2021-12-02 20:24:45 +03:00 |
|
Anastasiya Shadrina
|
17b7bca5e4
|
[FE] CheckContextReceiversResolutionPart: return if no context receivers
|
2021-12-02 20:24:45 +03:00 |
|
Anastasiya Shadrina
|
ac27fda965
|
[FE] Report ambiguity when label can refer to multiple receivers
|
2021-12-02 20:24:44 +03:00 |
|
Anastasiya Shadrina
|
fd7d000138
|
[FE] Minor: rename ApplicableArgumentWithConstraint
|
2021-12-02 20:24:43 +03:00 |
|
Anastasiya Shadrina
|
aeaa7f71da
|
[FE] Refactor: remove unused imports
|
2021-12-02 20:24:42 +03:00 |
|
Anastasiya Shadrina
|
2ce885b811
|
[FE] Minor: rename getArgumentWithConstraintIfCompatible()
|
2021-12-02 20:24:42 +03:00 |
|
Anastasiya Shadrina
|
7ab9b68ad5
|
[FE] Move type-related checks to TypeResolver
|
2021-12-02 20:24:41 +03:00 |
|
Anastasiya Shadrina
|
9896cbd2b8
|
[FE] Add visitContextReceiverList to KtVisitorVoid
|
2021-12-02 20:24:40 +03:00 |
|
Anastasiya Shadrina
|
7494c0896b
|
[FE] Minor: refactor substituteFunctionLiteralDescriptor()
|
2021-12-02 20:24:40 +03:00 |
|
Anastasiya Shadrina
|
c194f12cb4
|
[IR] Generate context receivers count for PersistentIr
|
2021-12-02 20:24:39 +03:00 |
|
Anastasiya Shadrina
|
f75571b97a
|
[FE] Minor: do not try to check stub is not null
|
2021-12-02 20:24:38 +03:00 |
|
Anastasiya Shadrina
|
617af898b0
|
[FE, IR] Support deserialization
|
2021-12-02 20:24:37 +03:00 |
|
Anastasiya Shadrina
|
2fbfee3e11
|
[PSI2IR] Fix parameter initialization for constructors with CR
|
2021-12-02 20:24:36 +03:00 |
|
Anastasiya Shadrina
|
4caf42804a
|
[IR] Revert changes to KFunctionProxy, put TODO
Context receivers are not yet available in FIR
|
2021-12-02 20:24:35 +03:00 |
|
Anastasiya Shadrina
|
d0794e6741
|
[IR] Make contextReceiverParametersCount abstract in IrFunction
|
2021-12-02 20:24:34 +03:00 |
|
Anastasiya Shadrina
|
3a9cf042d7
|
[Tests] Fix FirDiagnosticTestSpecGenerated and FirIdeSpecTest
|
2021-12-02 20:24:33 +03:00 |
|
Anastasiya Shadrina
|
43e3fc2b8d
|
[Tests] Fix TreesCompareTest.testCompareDiagnostics
|
2021-12-02 20:24:33 +03:00 |
|
Anastasiya Shadrina
|
c59ed6344e
|
[Tests] Make build green again
|
2021-12-02 20:24:31 +03:00 |
|
Anastasiya Shadrina
|
4aa05d85a4
|
[FE] Handle context receivers in CallableReferencesCandidateFactory
|
2021-12-02 20:24:29 +03:00 |
|