Dmitry Gridin
052d06be3f
TrailingCommaIntention: fix description
...
#KT-39180
2020-05-27 11:24:11 +00:00
Dmitry Gridin
bf6dffdf38
Introduce KotlinOtherSettingsPanel
...
#KT-39180 Fixed
#KT-38036 Fixed
2020-05-27 11:24:10 +00:00
Dmitry Gridin
880658135f
TrailingCommaIntention: should call notifyCodeStyleSettingsChanged()
2020-05-27 11:24:10 +00:00
Dmitry Gridin
dcebcc27b4
trailing comma: remove similar test data
2020-05-27 11:24:09 +00:00
Dmitry Gridin
c78fd4aaca
TrailingCommaInspection: should suggest fixes for call-site without warnings
...
#KT-39131 Fixed
2020-05-27 11:24:09 +00:00
Dmitry Gridin
10462c31d2
Join lines should remove useless trailing commas
...
#KT-39065 Fixed
2020-05-27 11:24:08 +00:00
Dmitry Gridin
e4a9679ec2
TrailingCommaVisitor: improve tree traversal
2020-05-27 11:24:07 +00:00
Dmitry Gridin
eab12a32ac
util: add missing constraints
2020-05-27 11:24:07 +00:00
Dmitry Gridin
262c9e6858
TrailingCommaPostFormatProcessor: should work with call-site in limited mode
...
* remove useless comma
* format call if comma exists
#KT-39079 Fixed
2020-05-27 11:24:06 +00:00
Dmitry Gridin
86827dfc92
TrailingCommaVisitor: adapt to TrailingCommaContext
...
#KT-39123 Fixed
2020-05-27 11:24:05 +00:00
Dmitry Gridin
6d7c03b6fd
Get rid of TrailingCommaHelper.needComma
2020-05-27 11:24:05 +00:00
Dmitry Gridin
0076f1ddd5
Introduce TrailingCommaContext
2020-05-27 11:24:04 +00:00
Dmitry Gridin
bb329c0415
Move TrailingComma* to separate module
2020-05-27 11:24:03 +00:00
Dmitry Gridin
64bcd32661
Introduce TrailingCommaState
2020-05-27 11:24:03 +00:00
Dmitry Gridin
fbddc6921f
KotlinCodeStyleSettings: add hidden settings for trailing comma on call site
...
#KT-39079
2020-05-27 11:24:02 +00:00
Ilya Chernikov
dec8eb7899
Revert renaming scripting plugin jar:
...
it conflicts with the compilation on daemon, so transistion should
be planned accordingly, and now it is not a good time for it.
The most important part of the renaming remains intact.
Partially reverts commit "Rename scripting libs and plugin - invert embeddable suffix"
2020-05-27 13:15:50 +02:00
Jinseong Jeon
18953c4717
FIR: transform resolved arrayOf call inside annotation to FirArrayOfCall
2020-05-27 11:38:34 +03:00
Jinseong Jeon
265d066878
FIR2IR: minor refactor to share IrVarargElement creation.
2020-05-27 11:38:32 +03:00
Jinseong Jeon
ff509bdcd3
FIR2IR: fix inverted types for array/element in arrayOf call.
2020-05-27 11:38:32 +03:00
Jinseong Jeon
b93868c30b
IR: migrate IrType utils about array element type.
2020-05-27 11:38:32 +03:00
Roman Artemev
49690fc620
[JS IR] Properly detect whether nested class is external
...
- Fix KT-38765
2020-05-27 10:49:57 +03:00
Denis Zharkov
5bb0085f7e
FIR: Fix test data after adba0a03a6
2020-05-27 10:29:46 +03:00
Roman Elizarov
46b426ef77
KT-31741: stdlib: DeepRecursiveFunction ( #3398 )
...
Introduces experimental coroutines-based framework to execute deeply recursive functions that utilities the heap and thus avoid StackOverflowError.
2020-05-27 10:06:00 +03:00
Mads Ager
9fa1614903
[JVM] Port line number tests to stepping framework.
...
Allow specifying JVM and JVM_IR as well as shared expectations.
Add the method name to the step.
Discard steps in synthetic methods.
2020-05-27 07:28:47 +02:00
Mikhail Zarechenskiy
4dbd4a56d5
Compose: adapt new API for intercepting candidates in call resolvers
...
Most part is made by @lelandrichardson
2020-05-27 01:42:48 +03:00
Roman Artemev
500acf412f
[JS TESTS] Regenerate ES6 tests
2020-05-27 00:32:56 +03:00
Roman Artemev
2fd6921806
[JS TESTS] Emulate failing of non-run tests
2020-05-27 00:32:56 +03:00
Roman Artemev
086241659e
[JS TESTS] Don't run ES6 test on win & mac till j2v8 issue is fixed.
2020-05-27 00:32:56 +03:00
Roman Artemev
50162265da
[JS TESTS] Add EP to disable run test on specific platform
2020-05-27 00:32:56 +03:00
Vitaly
fe047f9b47
[JS BE] mutes tests for JS_IR_ES6, which muted for JS_IR
2020-05-27 00:32:56 +03:00
Vitaly
fe65045615
[JS BE] add es6 BE and relevant generated tests
2020-05-27 00:32:56 +03:00
Vitaly
a231b21c69
[JS BE] add tests for es6-classes
2020-05-27 00:32:55 +03:00
Vitaly
adf6831d7f
[JS BE] implement es6-classes's codegen
2020-05-27 00:32:55 +03:00
Vitaly
90bcf8bf88
[JS BE] add es6LoweringPhase
2020-05-27 00:32:55 +03:00
Vitaly
fd25a5b3c8
[JS BE] es6: save instance after superCall
2020-05-27 00:32:55 +03:00
Vitaly
8c412adfaa
[JS BE] implement es6-classes lowering
2020-05-27 00:32:55 +03:00
Vitaly
be85b36025
[JS BE] add flag es6mode
2020-05-27 00:32:55 +03:00
Vitaly
9ede8445e7
[JS BE] add runtime-function and intrinsics for es6-classes
2020-05-27 00:32:54 +03:00
Vitaly
18bd80eb29
[JS BE] add JsClass node to ast
2020-05-27 00:32:54 +03:00
Dmitry Petrov
69fa067df9
Fix compiler bootstrap (1.4.0-dev-9205)
2020-05-27 00:28:58 +03:00
Vladimir Dolzhenko
5c58a9dfd1
PerfTests gradle interceptor clean up
2020-05-26 21:50:31 +02:00
Ilya Chernikov
a1c173733c
Fix gradle tests after renaming scripting libs and plugin
2020-05-26 20:24:15 +02:00
Steven Schäfer
9b7a95b05c
Parcelize: Fix test code
...
On Android, we would need to call `setDataPosition(0)` after
unmarshalling a parcel. The reason why the test code is currently
working is purely because the Robolectric test framework is more
permissive.
2020-05-27 02:39:29 +09:00
Steven Schäfer
d93e5d3dc0
Parcelize: Enable ParcelableDeclarationChecker with the parcelize plugin
...
Previously, the ParcelableDeclarationChecker was only enabled as part of
the view extensions. In particular, the checker was not enabled for the
parcelize test suite.
2020-05-27 02:39:29 +09:00
Steven Schäfer
f93749ae6a
Parcelize: Fall back to readValue/writeValue if no other serializers are available
2020-05-27 02:39:28 +09:00
Steven Schäfer
8d364a8a1a
Parcelize: Resolve parcel serializers on demand
2020-05-27 02:39:28 +09:00
Steven Schäfer
cfe168021a
Parcelize: Remap functions in overridden symbols and callable references
2020-05-27 02:39:28 +09:00
rbares
b39a65305d
Fix Parcelize codegen tests following rebase
2020-05-27 02:38:45 +09:00
rbares
8a9610d3af
Update Parcelize codegen tests
2020-05-27 02:38:45 +09:00
rbares
00ec50ff73
Fix Parcelize annotation implementing Parcelable.Creator<T>
2020-05-27 02:38:45 +09:00