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
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
Mikhail Zarechenskiy
b2ca61e8a5
Fix compilation, remove import
2020-05-04 15:43:46 +03:00
Mikhail Bogdanov
639af69185
Minor. Fix test data
2020-04-29 12:54:47 +02:00
Leonid Startsev
52933e161e
Use AssociatedObjects on JS too
...
because JS IR now supports them
2020-04-28 20:51:24 +03:00
Georgy Bronnikov
9561cc8270
JVM_IR: JvmNameProvider
2020-04-28 18:19:46 +03:00
Georgy Bronnikov
82d55e1a67
Minor: remove unused parameters, reformat code
2020-04-28 18:19:46 +03:00
Leonid Startsev
205f29128a
Updated testdata to a new generation strategy
...
Fix IR generation problems
(partially reverts cd931796bc )
Regenerate diagnostic testdata according to runtime changes
2020-04-28 15:48:14 +03:00
Ilya Chernikov
1fb325d56e
Fix generateTests task
...
adding TestMessageCollector that was moved with daemon tests back
2020-04-21 18:04:22 +02:00
Ilya Muradyan
af147017b4
Fix REPL completion after "final" expressions
...
Final expressions here are literals, "closed" function calls,
expressions in brackets. Completion variants should not appear after
them if they are not followed by by dot (.) or double colon (::).
Note that identifiers are not considered as final expressions.
2020-04-20 08:55:29 +02:00
Ilya Muradyan
400ea13f07
Fix scripting REPL completion after literals
2020-04-17 09:37:35 +02:00
Ilya Muradyan
d2fec96f38
Add new REPL API JVM implementation
2020-04-16 21:16:08 +02:00
Ilya Muradyan
b240fce224
Add incompleteCode diagnostic type
2020-04-16 21:16:08 +02:00
Ilya Muradyan
af251cafa4
Add info about the end of range in scripting REPL compiler messages
2020-04-16 21:16:08 +02:00
Nicolay Mitropolsky
d3f357ee47
Uast: KotlinUastReferencesTest falling in 193 fix
2020-04-16 14:14:29 +03:00
Mikhail Zarechenskiy
cf90fe81ac
Move Sam(TypeAlias)ConstructorDescriptor to core
2020-04-15 02:06:32 +03:00
Nicolay Mitropolsky
738e2f813c
Uast: expression type for assigning arrays (KT-34187)
2020-04-14 18:27:34 +03:00
Nicolay Mitropolsky
9674643254
Uast: support for UYieldExpression (KT-35574)
2020-04-14 18:27:34 +03:00
Ilya Chernikov
4ecedf2e3b
Get rid of KTUsefulTestCase, improve stability of the tests
2020-04-14 14:15:11 +02:00
Vladimir Dolzhenko
b0483a67c2
Perform tryLock-and-checkCanceled on waiting lock in LockBasedStorageManager
...
Relates to #KT-38012
2020-04-14 13:11:30 +02:00
Roman Artemev
cd931796bc
[SERIALIZATION] Fix kotlinx.serialization plugin
2020-04-14 11:12:08 +03:00
Roman Artemev
a9788f9506
[KLIB] Create an abstract class for module deserializer
...
- Introduce Ir-based Functional interface factory
- Switch from LazyIr to pure
- Use kotlin library to access raw bytes
- Link dirty files against IC cache and dependencies instead of LazyIr
- Move `DescriptorByIdSignatureFinder` from K/N to common
- Support inline-bodies only MODE
2020-04-14 11:12:08 +03:00
Ilya Chernikov
195a90d333
Cleanup warnings in scripting code
2020-04-13 13:49:34 +02:00
Ilya Chernikov
d863dc04e6
Move compiler scripting tests to scripting plugin, remove unused funs
...
also remove some tests that are covered in the scripting-compiler
tests now.
Part of the cleanup to rewrite scripting to the new infrastructure.
2020-04-13 13:49:34 +02:00
Ilya Chernikov
cf387ffad1
Remove obsolete source-sections plugin
2020-04-13 13:49:33 +02:00
Ilya Chernikov
138efda19f
Refactor scripting - get rid of unused type parameter in CompiledScript
2020-04-13 13:49:33 +02:00
Ilya Chernikov
c64ba50655
Abstract script compiled module implementation used in saving/caching
...
removes classloading problem when main-kts is loaded from a CL
without scripting compiler.
Also relax dependencies collection on saving to a jar and hide redundant
logging.
Running main.kts script via a run configuration works now.
#KT-37765 fixed
2020-04-13 13:49:32 +02:00
Ilya Chernikov
278f77713d
Fix default base classloader initialization for scripting hosts
...
also refactor runner functions
#KT-37823 fixed
2020-04-13 13:49:32 +02:00
Ilya Chernikov
6a24268db1
Fix scripting discovery file recognition for directory dependencies
2020-04-13 13:49:32 +02:00
Georgy Bronnikov
166b506f63
IR: only require all type parameter references to be local with new inference
2020-04-13 14:34:57 +03:00
Nicolay Mitropolsky
e815227196
Uast: resolve compiled annotation parameters (KT-34564)
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
b1bd962464
Uast: kotlinInternalUastUtils.kt reordering to move internal functions to the top
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
f5df64674f
Uast: making local lambda resolve and methods multiresolve work via resolveToDeclaration and resolveToPsiMethod
...
also fixes KT-36275
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
89863bd2a3
Uast: unifying resolve to two methods resolveToDeclaration and resolveToPsiMethod
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky
c3977d7336
Uast: replacing most usages of resolveCallToDeclaration with resolveToPsiMethod
2020-04-09 16:38:11 +03:00