Commit Graph

95958 Commits

Author SHA1 Message Date
Dmitrii Gridin ab2edd40d4 [AA FIR] KtFirClassLikeSymbolPointer: mark as internal
^KT-54311
2022-11-10 06:39:25 +00:00
Dmitrii Gridin 41ebf5ed53 [AA] KtPsiBasedSymbolPointer: simplify test logic
^KT-54311
2022-11-10 06:39:24 +00:00
Dmitrii Gridin b151ed3e65 [AA K2] drop redundant nested pointers for class like symbols
^KT-54311
2022-11-10 06:39:24 +00:00
Dmitrii Gridin deafb75d0e [AA K2] KtFirFunctionSymbol: cleanup code
^KT-54311
2022-11-10 06:39:24 +00:00
Dmitrii Gridin 638eccac16 [AA K2] add missing resolve for signature creation
^KT-54311
2022-11-10 06:39:23 +00:00
Dmitrii Gridin 202a022b49 [AA K2] implement symbol pointers for value parameters
^KT-54311
2022-11-10 06:39:23 +00:00
Dmitrii Gridin 043e3e6840 [AA K2] implement symbol pointers for receiver parameter
^KT-54311
2022-11-10 06:39:23 +00:00
Dmitrii Gridin 48f7cdfaa1 [AA K2] implement symbol pointers for property accessors
^KT-54311
2022-11-10 06:39:22 +00:00
Dmitrii Gridin 32c38c0ae4 [AA K2] cleanup CanNotCreateSymbolPointerForLocalLibraryDeclarationException usages
^KT-54311
2022-11-10 06:39:22 +00:00
Dmitrii Gridin 731545573a [AA K2] add more tests on java members
^KT-54311
2022-11-10 06:39:22 +00:00
Dmitrii Gridin 5e31c0b9b0 [AA K2] KtFirJavaSyntheticPropertySymbolPointer: cleanup code
^KT-54311
2022-11-10 06:39:21 +00:00
Dmitrii Gridin 864650c1c2 [AA K2] KtFirJavaFieldSymbolPointer: cleanup code
^KT-54311
2022-11-10 06:39:21 +00:00
Dmitrii Gridin 42f8e6fbe6 [AA] add more tests on java field symbols
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin 137deadee5 [AA K2] KtFirConstructorSymbolPointer: cleanup code
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin 5986a0d7b2 [AA K2] KtFirBackingFieldSymbolPointer: cleanup code
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin 897a5b085d [AA K2] implement symbol pointers for enum entry members without psi
^KT-54311
2022-11-10 06:39:19 +00:00
Dmitrii Gridin 1dfca7aca9 [FIR2IR] add option to allow IdSignature for members of local classes
^KT-54311
2022-11-10 06:39:19 +00:00
Dmitrii Gridin c6a3ca86eb [AA K2] symbol pointers: add tests on enum entry
^KT-54311
2022-11-10 06:39:19 +00:00
Dmitrii Gridin 03fed7a47f [AA K2] KtFirMemberSymbolPointer: drop redundant cast
to support KtEnumEntrySymbol

^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin 9a418a7533 [AA K2] KtFirAnonymousObjectSymbol: cleanup code
^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin bc3fcf22c4 [AA K2] reimplement symbol pointers for enum entry
^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin 9b6e9e2dd1 [AA K2] implement symbol pointers for type parameters
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin 7d1ac0ac97 [AA] AbstractSymbolTest: fix race
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin 47c9618b79 [AA K2] implement symbol pointers for type aliases
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin 0808f4e233 [AA K2] implement symbol pointers for classes and objects
^KT-54311
2022-11-10 06:39:16 +00:00
Dmitrii Gridin 85072b0c96 [AA K2] KtFirMemberSymbolPointer: migrate owner to pointer
^KT-54311
2022-11-10 06:39:16 +00:00
Dmitrii Gridin 2ac85b96e5 [AA K2] KtFirKotlinPropertySymbol: cleanup code
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin f86c9be733 [AA K2] implement symbol pointer for top level properties
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin 01e1fc042c [AA] KtFirKotlinPropertySymbol: cleanup code
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin 2888a3c2d2 [AA] KtFirFileSymbol: cleanup code
^KT-54311
2022-11-10 06:39:14 +00:00
Dmitrii Gridin 5eb0bfc180 [AA] SymbolPointerExceptions: cleanup code
^KT-54311
2022-11-10 06:39:14 +00:00
Dmitrii Gridin 4bd604f2ed [AA] check symbol pointer restoring without psi anchor
^KT-54311
2022-11-10 06:39:14 +00:00
Mads Ager 636024f676 [JVM] Retain deprecated status for interface companion const property.
Create the field directly and maintain the fact that its corresponding
property is the companion object property. That property has the
deprecated annotation which puts the deprecated marker on the field
when code generating the field.

^KT-54840 Fixed
2022-11-09 23:15:31 +01:00
Xin Wang 7b3ce35613 JVM_IR: Prevent writing output after an error is reported
#KT-53825 Fixed
2022-11-09 23:14:11 +01:00
Pavel Mikhailovskii 252e97663b KT-54784 Fix function inlining in init sections 2022-11-09 17:15:37 +00:00
Sergey.Shanshin af4308e634 Fixed replacing serializer origin for generated classes
Do not use plugin origin for user-written classes that have @Serializer annotation for some reason. Plugin origin makes them synthetic which is incorrect because they're available in source code. Example of such class: @Serializer(JsonElement::class) class JsonElementSerializer

Merge-request: KT-MR-7627
Merged-by: Sergey Shanshin <Sergey.Shanshin@jetbrains.com>
2022-11-09 17:11:40 +00:00
Vyacheslav Karpukhin a69ac69de1 KMM: fix multiplatform libraries import for Android (when running without an Android IDE plugin) 2022-11-09 16:01:02 +00:00
Vladimir Sukharev 574d78efce [K/N] Remove remains of jcenter from kotlin-native/
Revert two special entries

Use proper mavenCentral()

Remove remains of jcenter from kotlin-native/

Merge-request: KT-MR-7610
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2022-11-09 13:23:09 +00:00
Zalim Bashorov d4e0d07b5b [Wasm] Update Binaryen version in gradle plugin: 109 -> 110 2022-11-09 13:44:39 +01:00
Zalim Bashorov d29010807a [Wasm] Apply recent changes in TFR proposal and update v8
Type index immediate was added to call_ref and return_call_ref instructions.
More details here https://github.com/WebAssembly/function-references/pull/76
2022-11-09 13:44:38 +01:00
Zalim Bashorov 9ed94b25fa [Wasm] Cleanup instructions list
* Split by proposal, at least for work-in-progress ones
* Add a link to the repo for WIP proposals
* Move some instructions to right group
2022-11-09 13:44:38 +01:00
Zalim Bashorov ff2d3d0bdb [Wasm] Remove unnecessary --experimental-wasm-eh option while running d8 and nodejs
The support for Exception Handling proposal is turned on by default everywhere.
2022-11-09 13:44:38 +01:00
Sergej Jaskiewicz 7b7c517dbb [JS IR] Emit original names for local vars to sourcemaps
#KT-35655 Fixed
2022-11-09 12:35:44 +00:00
Sergej Jaskiewicz 8efa72ca36 [JS] Make sourcemaps more precise wrt JS syntax
- Generate mappings for function parameters
- Don't generate debug info for dots in qualified references
- A location of a JsNameRef is considered the start of the rightmost
  name
2022-11-09 12:35:44 +00:00
Margarita Bobova 4515130bfc Add ChangeLog for 1.7.21 2022-11-09 12:34:14 +01:00
Jinseong Jeon b2e239a542 AA: tests about equals on sealed/data class
^KT-54844 In Progress
2022-11-09 07:12:36 +01:00
Nikolay Krasko a4cd485f48 Remove native-platform 0.14 usage from the buildSrc
It looks like net.rubygrapefruit:native-platform:0.14 is not in
plugins.gradle.org repository anymore.

And it's not used anyway.

> Task :buildSrc:generateExternalPluginSpecBuilders FAILED

'''
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
   > Could not find native-platform-0.14.jar (net.rubygrapefruit:native-platform:0.14).
     Searched in the following locations:
         https://cache-redirector.jetbrains.com/plugins.gradle.org/net/rubygrapefruit/native-platform/0.14/native-platform-0.14.jar
'''

Can be reproduced with

```gradle --refresh-dependencies -i tasks -Pkotlin.native.enabled=true```

KTI-986
2022-11-08 21:31:43 +01:00
Simon Ogorodnik 4f6ebdc97f Tests. Fix JavaSourceInnerClassInClassPathTest writing to project root 2022-11-08 17:33:05 +00:00
Simon Ogorodnik 087555ee59 KTI-955. Add tests for CODEOWNERS file
- Check list of possible owners
- Check no unknown owners
- Check no unowned files in repo
- Check no unmatched patterns
2022-11-08 17:33:05 +00:00
Simon Ogorodnik eea06eb242 KTI-955. Add initial Space CODEOWNERS file 2022-11-08 17:33:04 +00:00