Roman Golyshev
ab191925cb
FIR IDE: Update test data for completion handlers test
2021-03-19 12:37:39 +03:00
Roman Golyshev
9896512eda
FIR IDE: Collect scopes information in reanalyze
...
It is needed for the completion, so after the changes in method bodies
all contexts are correctly collected
2021-03-19 12:37:39 +03:00
Roman Golyshev
f641466f70
FIR IDE: Fix searching for the closest function to re-resolve
...
If the function is local, there would be errors related to its
unresolved body and receiver type
2021-03-19 12:37:39 +03:00
Roman Golyshev
1d64c0789f
FIR IDE: Add implementation of classifiers completion from indices
2021-03-19 12:37:38 +03:00
Alexander Shabalin
5b1c30c198
Extract initializing singleton marker
...
* Extract kInitializingSingleton marker
* Extract isNullOrMarker helper function
2021-03-19 08:19:10 +00:00
Vasily Levchenko
b3ae30fdea
[llvm][context util] make error more readable
2021-03-19 08:04:00 +00:00
Sergey Bogolepov
e320f7efc3
Add libffi buildscript for Apple Silicon
2021-03-19 07:21:39 +00:00
Svyatoslav Scherbina
a9d0409f2e
Don't use Function.reflect() in kotlin-native/Interop on JVM
...
Use inline functions and typeOf<T>() instead
2021-03-19 06:53:09 +00:00
Alexander Likhachev
008e2636b7
[Gradle] Prevent early capturing of project build dir in KotlinCompile
...
#KT-45301 Fixed
2021-03-18 19:51:08 +00:00
Ilya Gorbunov
42648d55a0
kotlin-test: make assertIs<T> returning value cast to T KT-45296
2021-03-18 21:57:16 +03:00
Ilya Goncharov
2fd8620551
[Gradle, JS] Support custom display name in npm versions generator
...
^KT-42921 fixed
2021-03-18 21:32:15 +03:00
Ilya Goncharov
a291895ebe
[Gradle, JS] Add compatibility with webpack 4
...
^KT-42921 fixed
2021-03-18 21:32:14 +03:00
Ilya Goncharov
a1a01a1428
[Gradle, JS] Use compatible node version
...
^KT-42921 fixed
2021-03-18 21:32:12 +03:00
Ilya Goncharov
b2a2616c10
[Gradle, JS] Fix of using format-util
...
^KT-42921 fixed
2021-03-18 21:32:11 +03:00
Ilya Goncharov
965426bbd9
[Gradle, JS] Webpack serve for webpack-dev-server
...
^KT-42921 fixed
2021-03-18 21:32:10 +03:00
Ilya Goncharov
5827ed3f05
[Gradle, JS] Update versions with karma-webpack 5.0.0
...
^KT-42921 fixed
2021-03-18 21:32:08 +03:00
Ilya Goncharov
1b8c74337e
[Gradle, JS] Adopt Gradle plugin to webpack 5
...
^KT-42921 fixed
2021-03-18 21:32:07 +03:00
Ilya Goncharov
a06feaf819
Add possibility to hardcode version
...
^KT-42921 fixed
2021-03-18 21:32:05 +03:00
Ilya Goncharov
88abb3d6c9
[JS IR] Fix creating of classes extended from nested one
...
[JS IR] Extract getClassRef method
^KT-44950 fixed
2021-03-18 21:14:00 +03:00
Ilya Goncharov
a61312120b
[Gradle, JS] WA for tests with multiple binaries
2021-03-18 20:07:48 +03:00
Ilya Goncharov
8ffe70cb4d
[Gradle, JS] Use one folder for sync tasks
2021-03-18 20:07:47 +03:00
Dmitry Petrov
17da240910
JVM_IR KT-45195 generate non-static annotation members as ACC_ABSTRACT
2021-03-18 19:41:24 +03:00
Dmitry Petrov
2fd69a5718
Add bytecode listing tests for 'allopen' plugin with JVM_IR
2021-03-18 19:41:23 +03:00
Victor Turansky
e4d98d4e39
Gradle 7.0 support. com.gradle.plugin-publish 0.12.0 -> 0.13.0
...
[With Gradle 7+ support](https://plugins.gradle.org/plugin/com.gradle.plugin-publish/0.13.0 )
2021-03-18 19:11:26 +03:00
Steven Schäfer
d0424465b8
JVM IR: Resolve fake overrides when calculating return types (KT-44867)
2021-03-18 16:02:35 +01:00
Pavel Punegov
cae95b1ba0
[native] Fix kotlin.native.home properties order.
2021-03-18 14:41:03 +00:00
Roman Artemev
44d03bc727
[Psi2Ir] Fix generation of property references for synthetic java props
...
- Declare it on use-site
- Fix export checker for that case
- Fix KT-45297
2021-03-18 16:50:31 +03:00
Roman Artemev
9632839253
[JVM IR] Add jvm box test for KT-45297
2021-03-18 16:50:27 +03:00
Roman Artemev
0a4f2bc39c
[IR] Add irText test for KT-45297
2021-03-18 16:50:22 +03:00
Mikhail Zarechenskiy
78a0d7b5bb
Disable check about unimplemented check for real defaults
...
Now we can generate proper defaults and there is no need in additional
checks about unimplemented methods
#KT-41130 Fixed
2021-03-18 16:38:55 +03:00
Mikhail Zarechenskiy
641f08d561
Use compiler arguments for Java against Kotlin highlighting tests
...
This is needed for the next commit to check jvm-default options
#KT-41130 In Progress
2021-03-18 16:38:54 +03:00
Mikhail Zarechenskiy
111e54c8c1
Do not generate DefaultImpls for light classes if not needed
...
#KT-41130 In Progress
2021-03-18 16:38:52 +03:00
Dmitry Petrov
ac6232b4ba
JVM_IR KT-36853 patch parents after tailrecPhase
2021-03-18 15:19:24 +03:00
Dmitriy Novozhilov
34f8c7a68b
[TEST] Add ability to register compiler extensions in EnvironmentConfigurator
2021-03-18 14:00:38 +03:00
Ivan Gavrilovic
875ef73371
KT-45519: Get AGP version only once per classloader
...
Memoize AGP version per classloader, instead of computing
it once per project.
Fixes #KT-45519
2021-03-18 12:08:04 +03:00
Dmitriy Novozhilov
fc2d294b6c
[FIR] Fix tower priorities for invoke resolve
...
#KT-45316 Fixed
2021-03-18 10:24:57 +03:00
Sergey Shanshin
cfca7183e5
Add inspections and quickfixes of redundant Json format instantiation
...
Resolves KT-45075
2021-03-18 05:44:03 +03:00
Alexander Udalov
27174de891
Add JVM target bytecode version 16
...
#KT-45515 Fixed
2021-03-17 21:31:08 +01:00
Andrei Klunnyi
09f9489619
[FIR]: sealed hierarchy processor for IDE
...
From now on sealed declarations get resolved with the help of
FirIdeSealedHierarchyProcessor. This change entails correct IDE side
check for sealed when exhaustiveness.
2021-03-17 19:43:49 +01:00
Nikolay Krasko
98b2c00083
Revert "Cleanup HostManager.kt a little bit"
...
This reverts commit 9d957f68
2021-03-17 20:40:48 +03:00
Nikolay Krasko
3dd25e4965
Revert "Cleanup TargetManager.kt a little bit"
...
This reverts commit a4010c7a
2021-03-17 20:40:29 +03:00
Nikolay Krasko
e7a385f9da
Revert "Remove obsolete bc.frontend module"
...
This reverts commit b48a42a5
2021-03-17 20:40:00 +03:00
Nikolay Krasko
c4182c8269
Revert "Remove unused protobuf from backend.native"
...
This reverts commit 7a526a85
2021-03-17 20:39:35 +03:00
Ilya Gorbunov
85a0538f0a
Compile and run common tests of kotlin-test in kotlin-test-js-ir build
2021-03-17 17:53:54 +03:00
Ilya Gorbunov
e66eeefe2a
kotlin-test: assertIs and assertIsNot KT-45296
...
- Rename assertNotIs to assertIsNot
- Extract parts of implementation to helper internal PublishedApi
functions in order to inline minimum amount of code at use sites
- Remove PublishedApi from messagePrefix, no longer needed
2021-03-17 17:53:54 +03:00
Ben Asher
3a0219d84c
kotlin-test: add assertIs and assertNotIs assertions KT-45296
2021-03-17 17:53:54 +03:00
Svyatoslav Scherbina
542518f290
Remove contents of kotlin-native/CHANGELOG.md
...
Keep only links to old and new changelogs.
2021-03-17 13:53:05 +00:00
Svyatoslav Scherbina
8a940fc075
Update kotlin-native/BUILDING_LLVM.md after build rework
...
Running `dependencies:update` task is no longer required.
2021-03-17 13:53:04 +00:00
Svyatoslav Scherbina
1f5830404c
Native: remove documents that were migrated to kotlin-web-site
...
These documents were moved from kotlin-native repo to kotlin-web-site.
So copies that got merged into kotlin repo are unused.
2021-03-17 13:53:03 +00:00
Sergey Bogolepov
7a526a852f
Remove unused protobuf from backend.native
2021-03-17 13:44:05 +00:00