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
|
7440c726d0
|
Analysis API: fix invalid psi elements for constants and annotation values
|
2021-12-02 20:09:19 +01:00 |
|
Ilya Kirillov
|
dc9c2aa39d
|
Analysis API: add KDoc, small cosmetic improvements
|
2021-12-02 20:09:19 +01:00 |
|
Ilya Kirillov
|
6e4c87f138
|
Analysis API: pretty print declarations additionaly to debug rendering in some tests
|
2021-12-02 20:09:19 +01:00 |
|
Ilya Kirillov
|
bad91915a6
|
Analysis API: adapt reference resolve tests to changes in renderer
|
2021-12-02 20:09:19 +01:00 |
|
Ilya Kirillov
|
5fbcf0d94a
|
Analysis API: fix extra line rendering in DebugSymbolRenderer
|
2021-12-02 20:09:19 +01:00 |
|
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 |
|