Ilya Chernikov
fb6ef38370
Revert "Add info about the end of range in scripting REPL compiler messages"
...
This reverts commit af251caf , because it breaks daemon/client
compatibility, which we'd like to keep as much as possible
2020-05-15 21:15:48 +02:00
Roman Artemev
31af1e6ca7
[JS SCRIPT] Fix ScriptDependencyCompiler
...
- Invoke KotlinIrLinker properly
2020-05-14 17:58:33 +03:00
Sergey Rostov
4daac14008
Revert due to massive flaky tests
2020-05-12 23:01:01 +03:00
Yaroslav Chernyshev
0b8c497d2e
[Import] Downgrade jvmTarget & move Models and ModelBuilderServices
...
Fixed KT-35921
Fixed KT-36673
2020-05-12 16:52:01 +03:00
Sergey Rostov
802c03b934
Script configuration: fix getting javaHome
2020-05-12 16:20:43 +03:00
Roman Artemev
19e352a1b5
[ANDROID] Simplify parcelize ir plugin code
...
- avoid direct usages of CommonBackendContext & Backend Symbols
2020-05-12 14:29:55 +03:00
Roman Artemev
c20aa297f1
[ANDROID] Fix Parcelize reslove extension plugin
...
- make it provide its synthetic members names
2020-05-12 14:29:55 +03:00
Roman Artemev
6bdd473eff
[JVM IR] Fix plugin API for JVM IR
...
- Unmute ktx.serialization test
2020-05-12 14:29:55 +03:00
Roman Artemev
1949b11bb2
[KTX.SERIALIZATION] Refactor plugin once again
2020-05-12 14:29:54 +03:00
Roman Artemev
3c50b47333
[IR] Add new API into IrBuiltIns to access functional interfaces
2020-05-12 14:29:53 +03:00
Roman Artemev
a477aa7289
[KLIB] Pass IrFunctionFactory from outside
2020-05-12 14:29:53 +03:00
Ilya Muradyan
7cde9b4355
Add tests for analyze return type in REPL IDE services
...
also refactor existing tests infrastructure
2020-05-11 10:45:49 +02:00
Ilya Muradyan
8a1b44cc2b
Add snippet result type to analysis output of REPL IDE services
2020-05-11 10:45:49 +02:00
Dmitriy Novozhilov
a47bab2466
[FIR] Fix build scripts for plugin prototype
2020-05-10 22:52:00 +03:00
Dmitriy Novozhilov
959ecceaf7
[FIR-PLUGIN] Move fir plugin prototype out from :compiler module
2020-05-08 15:10:02 +03:00
Svyatoslav Kuzmich
3d5003d476
[JS_IR] Use new plugin to build Kotlin/JS stdlib with IR compiler
...
- Switch to building stdlib with bootstrap compiler since IR is stable
enough
- Build stdlib with coreLibs by default
- Include JS IR stdlib to kotlin distribution
2020-05-08 10:37:48 +03:00
Sergey Rostov
14edc26cf1
Revert due to test failing in 201
2020-05-08 10:13:07 +03:00
Sergey Rostov
aca1771619
Script configuration: fix getting javaHome
2020-05-07 21:48:46 +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
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