Ilya Kirillov
|
c4e5ec2ff2
|
Analysis API: fix unsigned constant value creation for fe1.0
|
2021-12-02 20:09:17 +01:00 |
|
Ilya Kirillov
|
7919dae558
|
Analysis API: improve rendering of constant values
|
2021-12-02 20:09:17 +01:00 |
|
Ilya Kirillov
|
e608f8d8dc
|
Analysis API: fix invalid constant value kind for unsigned numbers
|
2021-12-02 20:09:17 +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 |
|
Ilya Kirillov
|
47c1da2845
|
FIR IDE: separate KtAnnotationApplication and KtAnnotationApplicationValue
|
2021-12-02 20:09:16 +01:00 |
|
Ilya Kirillov
|
b1c8a9e886
|
Analysis API: rename KtConstantValue -> KtAnnotationValue as it is annotation specific
|
2021-12-02 20:09:14 +01:00 |
|
Ilya Gorbunov
|
760e35d3b7
|
chore: update ant version for docs build
|
2021-12-02 20:59:46 +03:00 |
|
Ilya Gorbunov
|
64c3aef7ab
|
Reduce the chance shuffle produces an identical permutation in test
|
2021-12-02 20:58:53 +03:00 |
|
Dmitry Petrov
|
d5da130d4b
|
KT-47939 FunInterfaceConstructorReference
|
2021-12-02 20:28:06 +03: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
|
2954c5cc9c
|
[FE] Use DescriptorFactory.createContextReceiverParameterForCallable
|
2021-12-02 20:25:02 +03:00 |
|
Anastasiya Shadrina
|
13c8531f3a
|
[Tests] Regenerate NativeExtBlackBoxTestGenerated.kt
|
2021-12-02 20:25:02 +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 |
|