Anastasiya Shadrina
4d3035e2f7
[Parser] Do not support local contextual declarations
2021-12-03 20:22:17 +03:00
Alexander Shabalin
4fd61ad1b0
[K/N] Change AtomicReference for the new MM ^KT-50026
...
Make AtomicReference behave like FreezableAtomicReference with the new MM: not frozen by default, don't require freezing value unless the ref itself is frozen. The behaviour with the old MM is unchanged.
Merge-request: KT-MR-5155
2021-12-03 17:08:21 +00:00
Alexander Likhachev
1d2e60a2af
[Gradle] Measure TESTS_EXECUTED & COMPILATION_STARTED metrics report time
2021-12-03 15:59:48 +00:00
Alexander Likhachev
59b6aefe67
[Gradle] Validate compiler classpath & invoke compiler in single action
...
#KT-50037 Fixed
2021-12-03 15:59:47 +00:00
Sergey Bogolepov
26994817d1
[K/N] Update watchOS platform libraries for Xcode 13.1
2021-12-03 12:46:35 +00:00
Sergey Bogolepov
4bd4ef6fee
[K/N] Update tvOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Sergey Bogolepov
c6574d9d80
[K/N] Update iOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Sergey Bogolepov
5cd3043628
[K/N] Update macOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Svyatoslav Scherbina
00c945ea4a
Native: pack licenses from license/ into the bundle as well
...
Also remove duplicates from kotlin-native/licenses/
2021-12-03 11:24:43 +00:00
Svyatoslav Scherbina
13d0793a43
Update kotlin-native/licenses/ files copied from license/
...
These files were copied long ago, when kotlin-native/ was in the
separate Git repository, and now some of them don't match the updated
originals.
2021-12-03 11:24:43 +00:00
Svyatoslav Scherbina
427c2bde97
Native: remove kotlin-native/LICENSE as it duplicates license/LICENSE.txt
2021-12-03 11:24:43 +00:00
Svyatoslav Scherbina
3898c52454
Native: extract license packing into a function
2021-12-03 11:24:42 +00:00
Svyatoslav Scherbina
71deeab57c
Native: don't pack Xcode license into non-macOS bundles
2021-12-03 11:24:42 +00:00
Svyatoslav Scherbina
0a6c4c985c
Native: fix packing licenses into the bundle
...
The source directory became wrong after merging the kotlin-native/ into
kotlin.
2021-12-03 11:24:42 +00:00
Svyatoslav Scherbina
3d7ac9037a
Native: fix packing licenses into the samples archive
...
The source directory became wrong after merging the kotlin-native/ into
kotlin.
2021-12-03 11:24:41 +00:00
Svyatoslav Scherbina
5af9ecf959
Native: fix packing RELEASE_NOTES.md into the bundle
...
The source directory became wrong after merging the kotlin-native/ into
kotlin.
2021-12-03 11:24:41 +00:00
Svyatoslav Scherbina
7b9f196528
Native: update Xcode license to 8/7/2019
2021-12-03 11:24:40 +00:00
Dmitriy Novozhilov
1f0b62b25f
[FIR] Add smartcasts from == if equals is from Any
...
^KT-49127 Fixed
2021-12-03 14:19:25 +03:00
Dmitriy Novozhilov
ac718cd1c4
[FIR] Move resolvedStatus from FirRegularClassSymbol to FirClassSymbol
2021-12-03 14:19:22 +03:00
Dmitriy Novozhilov
77101edfa4
[FIR] Setup tests for IC with compiler plugins
...
Most of those tests are ignored, because IC is not supported properly
for compiler plugins. This commit is needed to prepare infrastructure,
fix current behaviour and collect main problems of IC with plugins
Check fail.txt files in new testdata for explanation of problems
2021-12-03 14:17:41 +03:00
Dmitriy Novozhilov
8fcb525d75
[Test] Add ability to mute IC tests via fail.txt file
...
If fail.txt is present in root directory of test then exception from
test will be muted. If there were no exceptions and fail.txt exists
then test fail with suggestion to remove fail.txt
Content of fail.txt does not matter, so it can be used to store
information about why this test doesn't pass
2021-12-03 14:17:41 +03:00
Dmitriy Novozhilov
11b9a6eed2
[FIR] Implement simple serializer like declaration generator
...
This generator is needed to test complex dependency between generated
members and annotated classes in incremental compilation
2021-12-03 14:17:40 +03:00
Dmitriy Novozhilov
8c11ea266a
[FIR] Enable plugin phases if some extensions are registered
2021-12-03 14:17:39 +03:00
Dmitriy Novozhilov
1d32d5c7d8
[FIR] Slightly reorganize directory structure of FIR plugin prototype
2021-12-03 14:17:38 +03:00
Dmitriy Novozhilov
d585027431
[FIR] Rename tests of FIR plugin prototype
2021-12-03 14:17:36 +03:00
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
Dmitriy Novozhilov
974150a9d8
[FIR] Rename annotations in plugin prototype so they have meaningful names
2021-12-03 14:17:29 +03:00
Svyatoslav Scherbina
a760c31b22
Native: update RELEASE_NOTES.md
2021-12-03 10:26:26 +00: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
Ilya Goncharov
12ea7a9092
[Gradle, JS] Use incremental compilation only for development in IR
2021-12-03 11:59:04 +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
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