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
Mikhail Glukhikh
f7137fe860
Slightly polish FirAnnotationClassDeclarationChecker
2020-05-06 10:42:39 +03:00
Likholetov Mikhail
aa706d322d
[FIR] Support several annotation class diagnostics
2020-05-06 10:32:01 +03:00
Mikhail Zarechenskiy
1e8dff6a7c
Fix bunch files after removing IDE option
...
Follow-up of c01a171d
2020-05-04 15:48:33 +03:00
Mikhail Zarechenskiy
b2ca61e8a5
Fix compilation, remove import
2020-05-04 15:43:46 +03:00
Mikhail Zarechenskiy
c01a171d4c
Revert "Add option to enable new inference only for IDE analysis"
...
This reverts commit a3247b1b92 .
#KT-37378 Fixed
2020-05-04 15:14:43 +03:00
Mikhail Zarechenskiy
d7dfe9e1e5
FUS Collector: remove metric about using new inference in IDE
...
Now it's not needed as new inference is enabled by default
2020-05-04 15:14:28 +03:00
Alexander Udalov
54f9f130e2
Do not generate references as adapted with -Xno-optimized-callable-references
...
The reason for this is that this flag is used right now in 'cli-common'
to workaround the problem that this module is compiled with API version
1.4, but runs with stdlib of version 1.3 (bundled to Gradle). The same
problem would appear with adapted function references, since we use
kotlin/jvm/internal/AdaptedFunctionReference in the bytecode, only
available since 1.4.
The fix is to generate adapted references in this case as subclasses of
the already existing kotlin/jvm/internal/FunctionReference. This can
change behavior in some extreme corner cases (because such references
can now be observed to have reflection capabilities), but it's an -X
argument anyway.
Another option would be to introduce another compiler argument
specifically for this, but it looks like it would only complicate things
without much benefit.
2020-05-04 13:24:53 +02:00
Mikhail Bogdanov
4f7599076c
Postpone JvmDefault deprecation. Revert "Deprecate @JvmDefault"
...
This reverts commit c11f3868
2020-05-04 10:02:16 +02:00
Vladimir Dolzhenko
911dfde0fe
Add highlighting perf test with empty profile
2020-05-04 09:48:17 +02:00
Dmitry Gridin
32be4c03ca
ExtractSuperRefactoring: add quoteSegmentsIfNeeded()
2020-05-04 03:49:32 +00:00
Dmitry Gridin
86de734f26
KotlinExtractSuperclassDialog: cleanup code
2020-05-04 03:49:31 +00:00
Dmitry Gridin
ccfea97390
CopyKotlinDeclarationsHandler: fix for package with backticks
...
#KT-38543 Fixed
2020-05-04 03:49:30 +00:00
Dmitry Gridin
b058dc12df
packageUtils: cleanup code
2020-05-04 03:49:30 +00:00
Dmitry Gridin
ac9ad30681
SetterBackingFieldAssignmentInspection: fix exception
...
#KT-38520 Fixed
2020-05-04 03:49:29 +00:00
Dmitry Gridin
6f5b3aebe1
KotlinIntroduceVariableHandler: fix CCE for destruction declaration
...
#EA-219701 Fixed
2020-05-04 03:49:28 +00:00
Dmitry Gridin
8e35b7a29c
KotlinIntroduceVariableHandler: fix for declarations with expression body
...
#KT-38449 Fixed
2020-05-04 03:49:28 +00:00
Dmitry Gridin
d21e383094
KotlinIntroduceVariableHandler: cleanup code
2020-05-04 03:49:27 +00:00
Dmitry Petrov
b574917314
Minor: update FIR2IR testData
2020-05-01 17:55:49 +03:00
Mads Ager
6257b32954
[JVM_IR] Avoid boxing when comparing primitive to object.
2020-05-01 17:53:34 +03:00
Vladimir Dolzhenko
7e55336300
Add yourKit profiler to perfTests
2020-05-01 12:35:38 +02:00
Dmitry Petrov
a564d47158
Minor: unmute FIR black box test
...
Guys, please, can you do it yourself?
2020-05-01 13:14:21 +03:00
Dmitry Petrov
1d10776db4
Minor: update FIR2IR testData
2020-05-01 13:14:21 +03:00
Mads Ager
db17184cfd
[JVM_IR] Avoid some boxing when comparing boxed primitives to primitives.
2020-05-01 13:14:20 +03:00
Dmitry Savvinov
f3830cb07e
Make KotlinNativeTasks.konanTargetsForManifest non-nullable, otherwise Gradle fails
2020-05-01 12:56:10 +03:00
Dmitry Savvinov
686d00ddf5
Collect and pass to K2Native actual targets of native-shared compilation
...
^KT-38658 Fixed
2020-04-30 20:05:45 +03:00
Yunir Salimzyanov
550aa1ba59
Remove partial quotes in csv files
...
Cause: github do not want to render fields with such kind of quotes
2020-04-30 19:30:56 +03:00
Yunir Salimzyanov
cf8b29a636
Add missing commas to csv files
2020-04-30 19:30:56 +03:00
Yunir Salimzyanov
856d8e64a2
Escape fields with extra commas in csv for muted tests
2020-04-30 19:30:55 +03:00
Valentin Kipyatkov
5d60572cfd
Temporarily disabled optimization because of failing tests
2020-04-30 15:45:24 +03:00
Vladimir Ilmov
1128d659a4
(CoroutineDebugger) No restored frames in coroutine context found.
2020-04-30 13:14:41 +02:00