Ilya Kirillov
|
985c6fa0b8
|
Analysis API: rework KtSymbol hierarchy
- make some symbols to be KtPossiblyMemberSymbols
- introduce KtDeclarationSymbol for declarations
|
2021-12-02 20:09:19 +01:00 |
|
Ilya Kirillov
|
22e31ea414
|
Analysis API FE1.0: fix invalid file scope
|
2021-12-02 20:09:19 +01:00 |
|
Ilya Kirillov
|
d5f6809f76
|
Analysis API FIR: fix rendering FirField
|
2021-12-02 20:09:18 +01:00 |
|
Ilya Kirillov
|
68e3c72a64
|
Analysis API FIR: fix missing type aliases in KtFirFileScope
|
2021-12-02 20:09:18 +01:00 |
|
Ilya Kirillov
|
aef52323a8
|
Analysis API FIR/FE1.0: fix backing field rendering & resolving
|
2021-12-02 20:09:18 +01:00 |
|
Ilya Kirillov
|
0a5bbc0096
|
Analysis API: update rendering testdata after changing renderer
|
2021-12-02 20:09:18 +01:00 |
|
Ilya Kirillov
|
5cffcfaf9f
|
Analysis API FE1.0: consider rendering parameters when rendering annotations
|
2021-12-02 20:09:18 +01:00 |
|
Ilya Kirillov
|
2d032112fd
|
Analysis API FE1.0: fix rendering of enum entry
|
2021-12-02 20:09:18 +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
|
908a47810b
|
Analysis API: make KtClassifierSymbol to be a KtPossibleMemberSymbol
|
2021-12-02 20:09:17 +01:00 |
|
Ilya Kirillov
|
9cb950a2ae
|
Analysis API: extract PrettyPrinter from DebugSymbolRenderer to utils
|
2021-12-02 20:09:17 +01:00 |
|
Ilya Kirillov
|
8cb5283a7d
|
Analysis API: fix file symbol restore
|
2021-12-02 20:09:17 +01:00 |
|
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 |
|