Dmitry Gridin
988c89602d
tests: wrap tearDown with RunAll
2020-05-07 12:36:46 +00:00
Dmitry Gridin
f50e289033
fix psi tree in moveFunctionLiteralOutsideParentheses
2020-05-07 12:36:46 +00:00
Dmitry Gridin
afb15eb7cf
BranchedFoldingUtils: fix psi tree after tryFoldToAssignment
...
#KT-38677 Fixed
2020-05-07 12:36:45 +00:00
Dmitry Gridin
ee0b7426c4
KotlinFunctionCallUsage: fix psi tree
...
#KT-38632
2020-05-07 12:36:44 +00:00
Dmitry Gridin
11a3482970
tests: apply official code style
...
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00
Mikhail Glukhikh
d8f9643650
[FIR2IR] Use intersection type approximation for receivers
2020-05-07 15:27:17 +03:00
Sergey Igushkin
292563451c
Fix falsely skipped shared-native source sets in HMPP (KT-38746)
...
Issue #KT-38746 Fixed
2020-05-07 11:55:29 +00:00
Alexander Udalov
a0400f59c2
Add -Xskip-prerelease-check compiler argument
...
#KT-38070 Fixed
2020-05-07 13:24:26 +02:00
Anton Yalyshev
37e676a4a6
Bump Gradle (6.3) and Android-build-tools (3.6.3) versions in new project wizards
2020-05-07 14:19:03 +03:00
Steven Schäfer
821aca984b
JVM IR: Take superQualifierSymbols into account when lowering inline classes
2020-05-07 11:44:09 +02:00
Mikhail Glukhikh
52abc2ae1a
[FIR] Fix spec test data according to a new diagnostic
2020-05-07 12:10:56 +03:00
Mikhail Glukhikh
38fc4d0f1f
FIR: set & use dispatch receiver for q. access with super reference
2020-05-07 12:02:57 +03:00
Mikhail Glukhikh
b058ca635c
FIR: make both ImplicitReceiverStack.get implementations consistent
2020-05-07 12:02:57 +03:00
Mikhail Glukhikh
cd2f5895a6
FIR: add minor fix of super reference handling
2020-05-07 12:02:57 +03:00
Jinseong Jeon
7b01cf7b04
FIR: handle labeled super reference properly
2020-05-07 12:02:56 +03:00
Victor Petukhov
260683c20e
NI: Improve postponed arguments analysis
...
Introduce seven stages:
1) Analyze postponed arguments with fixed parameter types
2) Collect parameter types from constraints and lambda parameters' declaration
3) Fix not postponed variables for parameter types of all postponed arguments
4) Create atoms with revised expected types if needed
5) Analyze the first ready postponed argument and rerun stages if it has been analyzed
6) Force fixation remaining type variables: fix if possible or report not enough information
7) Force analysis remaining not analyzed postponed arguments and rerun stages if there are
^KT-37952 Fixed
^KT-32156 Fixed
^KT-37249 Fixed
^KT-37341 Fixed
2020-05-07 11:42:00 +03:00
subroh0508
50151e0e01
[Gradle, JS]AbstractNpmDependencyExtension -> DefaultNpmDependencyExtension
2020-05-07 10:21:51 +03:00
subroh0508
abf942b928
[Gradle, JS]Add optionalNpm methods
2020-05-07 10:21:51 +03:00
subroh0508
34e8b11475
[Gradle, JS]Add directoryNpmDependency method
2020-05-07 10:21:51 +03:00
subroh0508
121897133e
[Gradle, JS]Delete peerNpm method used by file argument
2020-05-07 10:21:51 +03:00
subroh0508
231324d119
[Gradle, JS]Add peerNpm method for peerDependencies to KotlinDependencyHandler
2020-05-07 10:21:51 +03:00
subroh0508
3e2feac4ea
[Gradle, JS]Add devNpm method for devDependencies to KotlinDependencyHandler
2020-05-07 10:21:51 +03:00
Dmitriy Novozhilov
726a871c07
[FIR] Add dependency of :dist to :firAllTest
2020-05-07 09:42:21 +03:00
Dmitriy Novozhilov
41545cd2b4
[FIR] Initialize origin in all places with creating of declarations
2020-05-07 09:42:20 +03:00
Dmitriy Novozhilov
e515b1c823
[FIR] Add origin field to FirDeclaration
2020-05-07 09:42:20 +03:00
Alexander Udalov
7a369b3a6a
Mark PureIrGenerationExtension as deprecated to prevent more usages
...
The IR plugin extension mechanism is being reworked and in the new
scheme, this new extension point won't be necessary.
2020-05-06 22:51:32 +02:00
Steven Schäfer
9fc210224d
Parcelize: Fix IBinderIInterface test
2020-05-06 22:51:12 +02:00
Steven Schäfer
518c7a32b8
Parcelize: Add a test for efficient Parcelable serialization within the same module
2020-05-06 22:51:12 +02:00
Steven Schäfer
a4e6dbb0d7
Parcelize: Add test for TypeParceler scoping behavior
2020-05-06 22:51:12 +02:00
Steven Schäfer
b35e8e208a
Parcelize: Add a test for Parcelize with persistable bundles
2020-05-06 22:51:12 +02:00
Steven Schäfer
43bccff135
Parcelize: Add a test for parcelize of IBinder and IInterface
2020-05-06 22:51:12 +02:00
Steven Schäfer
6cf3e0e38e
Parcelize: Add a test for exceptions in parcels (KT-31830)
2020-05-06 22:51:12 +02:00
Steven Schäfer
21637c828e
Parcelize: Add a test for Java interop (KT-25807)
2020-05-06 22:51:12 +02:00
Steven Schäfer
aa0eeba327
Parcelize: Add a test for KT-36658
2020-05-06 22:51:12 +02:00
Steven Schäfer
01ea2a641f
Parcelize: Add test for KT-26221
2020-05-06 22:51:12 +02:00
Steven Schäfer
1552e55474
Parcelize: Add an exhaustive test for primitive types
2020-05-06 22:51:12 +02:00
Steven Schäfer
1f97486fdd
Parcelize: Improve testing infrarstructure
...
- Support newer android versions
- Allow testing against Java files using android APIs
- Update test expectations
- Auto-generate ParcelBoxTests
- Create tests for the JVM IR backend
2020-05-06 22:51:12 +02:00
Steven Schäfer
d62b353ab5
Parcelize: Fix metadata and remap synthetic descriptor stubs
2020-05-06 22:51:12 +02:00
Steven Schäfer
779133e71e
Parcelize: Implement support for the JVM IR backend.
2020-05-06 22:51:12 +02:00
Steven Schäfer
7cad2be329
IR: Add an extension point after IR construction
...
The existing IrGenerationExtension is in the middle of IR construction
and basically requires plugins to work with the (deprecated) descriptors.
Since there are plans to change the IR extension point it makes sense to
introduce a temporary work-around to allow pure IR plugins to be
developed now, which could be ported to a more permanent API later.
2020-05-06 22:51:12 +02:00
Nicolay Mitropolsky
6ae7d53a93
Uast: support extendsList for reified types (KT-38173)
2020-05-06 15:31:20 +03:00
Nicolay Mitropolsky
43549baf58
Revert "Uast: forcing kotlin.uast.force.uinjectionhost=true always"
...
This reverts commit e4b7c391
2020-05-06 15:31:20 +03:00
Nicolay Mitropolsky
00b44c1e68
Uast: making KotlinStringTemplateUPolyadicExpression.operands always non-empty (EA-231393)
2020-05-06 15:31:19 +03:00
Nicolay Mitropolsky
b7e715045a
Uast: skip KtWhenConditionWithExpression in UAST (KT-38521)
...
when building parents, because they are anyway ignored in converter
2020-05-06 15:31:19 +03:00
Nicolay Mitropolsky
903f35ce0c
Uast: don't fall on empty when entries (EA-231339)
2020-05-06 15:31:19 +03:00
Dmitry Petrov
3143b15a17
Generate widening cast for Byte and Short to Int
2020-05-06 14:42:37 +03:00
Mikhail Glukhikh
427973fe48
FIR serializer: fix typo in finding argument name
2020-05-06 13:10:13 +03:00
Jinseong Jeon
deb8e1f9db
IR: cleanup unused implementation in WrappedDescriptors
...
This is partial revert of 08ca6f5 , which set metadata field of IR
symbols during FIR2IR conversion, triggering some paths in IR
codegen to use wrapped descriptors copy builder and others to
serialize. Now FIR element-based metadata serialization is in,
those additions were not needed anymore.
2020-05-06 13:10:07 +03:00
Jinseong Jeon
0c7ed04260
FIR: make (K)SuspendFunctionX derived from (K)Function
2020-05-06 13:09:32 +03:00
Mikhail Glukhikh
9eee089740
FIR: regenerate diagnostic tests
2020-05-06 13:09:26 +03:00