Commit Graph

66577 Commits

Author SHA1 Message Date
Alexander Udalov 4520e02bae Support fun interfaces in kotlinx-metadata
#KT-37421 Fixed
2020-05-27 23:29:12 +02:00
Vladimir Dolzhenko c805274d2e Fix projectRoutines.kt compilation under 192/as36 2020-05-27 21:11:23 +02:00
Steven Schäfer 86cd039526 JVM IR: Use original descriptors for lambdas in JvmDeclarationOrigin 2020-05-27 20:21:42 +03:00
Nataliya Valtman bd66e87440 KT-38250 The minimal supported Gradle version is 5.3 now
Gradle integration tests: use at least OLDEST_SUPPORTED version.

extract minSupportedGradleVersion for using both in check and tests

avoid using Usage.JAVA_API_JARS and JAVA_RUNTIME_JARS
2020-05-27 19:05:45 +03:00
Vyacheslav Gerasimov af2dce0549 as41: Build against AS 4.1 C10 2020-05-27 18:46:57 +03:00
Vyacheslav Gerasimov 097b93cb2a as41: Setup bunch config and compatibility dsl for AS 4.1 2020-05-27 18:46:57 +03:00
Vyacheslav Gerasimov d6011103e2 Build: Remove bunch files with intellijUltimateEnabled=false for AS 2020-05-27 18:46:57 +03:00
Victor Petukhov cadc5ad587 NI: remove deprecated TODO about doing investigation around producing unwanted Any? during incorporation (KT-39154) 2020-05-27 16:52:55 +03:00
Victor Petukhov 0bed055fca NI: small refactoring around TypeCheckerContext and adding new possible constraints 2020-05-27 16:39:31 +03:00
Victor Petukhov d7f52e8b67 NI: do explicit incorporation of type of fixing type variable into other constraints
^KT-37380 Fixed
2020-05-27 15:44:03 +03:00
Dmitry Gridin 3643b7b0ca trailingComma: cleanup code 2020-05-27 11:24:12 +00:00
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