Commit Graph

62567 Commits

Author SHA1 Message Date
nataliya.valtman fa74eabbd1 use bootstrap.kotlin.default.version bootstrap for buildSrc 2020-03-04 15:15:32 +03:00
Yan Zhulanow f7a7c169f8 Changelog: remove "trailing comma" feature from 1.3.70 2020-03-04 20:44:15 +09:00
Yan Zhulanow 9e605b1798 Remove 1.4-specific language features from 1.3.70 changelog 2020-03-04 17:19:12 +09:00
Vladimir Dolzhenko 15e2afe5ab Add checkCanceled on common for autocompletion and highlighting resolve path 2020-03-04 08:59:17 +01:00
Vladimir Dolzhenko 9c530b1121 Add performance stress tests 2020-03-04 08:47:51 +01:00
Yan Zhulanow 9ea97a3dfb Update changelog: add changes from 1.3.70 2020-03-04 15:15:55 +09:00
Georgy Bronnikov 394c660a82 Mute a FIR test 2020-03-04 01:34:17 +03:00
Vyacheslav Gerasimov 52b88bf753 Build: Fix various libraryJarWithIr task inputs 2020-03-04 01:14:56 +03:00
anastasiia.spaseeva 401023a893 [FIR] Add test for object inner class KT-37120 2020-03-03 23:40:11 +03:00
anastasiia.spaseeva 1ce96b7433 [FIR] Add tests for KT-37091 , KT-37081 2020-03-03 23:40:11 +03:00
anastasiia.spaseeva 9a352ad7b0 [FIR] Add tests for KT-37070 , KT-37066 2020-03-03 23:40:11 +03:00
anastasiia.spaseeva 97007ae6c5 [FIR] Add tests for companionObjectCall 2020-03-03 23:40:11 +03:00
Dmitry Petrov f678db2f89 KT-36813 Generate optimizable null checks in JVM_IR 2020-03-03 22:38:21 +03:00
Nikolay Krasko a52ef71d48 Use createForProduction for running standalone execution 2020-03-03 21:15:07 +03:00
Georgy Bronnikov 4ea0b4911a Avoid excessive JavaForKotlinOverridePropertyDescriptors
When there are two candidates for a Java method to be interpreted as a
getter for inherited Kotlin property, one from current class, another
from supertype, create just one JavaForKotlinOverridePropertyDescriptor.
Case in point: java.lang.Hashtable.
2020-03-03 20:01:27 +03:00
Georgy Bronnikov 0c266f9f45 Add hashtable test 2020-03-03 20:01:27 +03:00
Roman Artemev 4381a2d81b [JS IR] Clean up callable reference lowering 2020-03-03 19:19:43 +03:00
Roman Artemev 8f0e06ff70 [JS IR] Fix typo 2020-03-03 19:19:42 +03:00
Roman Artemev 98aa73ee6b [JS IR] Fix code clean-up optimizations
- Do not create an extra variable/field for in some lowerings
2020-03-03 19:19:41 +03:00
Roman Artemev 65011f96cc [JS IR] Clean up coroutine code 2020-03-03 19:19:39 +03:00
Roman Artemev c4efd5a09b [JS IR] Use JsThisRef node for dispatch/instance receivers 2020-03-03 19:19:38 +03:00
Roman Artemev 62c86f2813 [JS IR] Remove filthy hacks from namer 2020-03-03 19:19:37 +03:00
Roman Artemev 3c7cc07263 [JS IR] Clean up code 2020-03-03 19:19:36 +03:00
Roman Artemev 133f3d359f [JS IR] remove hacks from DCE 2020-03-03 19:19:34 +03:00
Roman Artemev adc022fde8 Fix some coroutine tests 2020-03-03 18:54:36 +03:00
Roman Artemev 4e002a41e6 [JS IR] Fix visibility & code clean up 2020-03-03 18:54:36 +03:00
Roman Artemev 8654dbdc6e [JS IR] Refactor property references
- implement separate lowering
 - fix issues with type checks
 - clean code up
2020-03-03 18:54:36 +03:00
Roman Artemev 5dcac16cf7 [JS IR] Update test data 2020-03-03 18:54:36 +03:00
Roman Artemev c2676ded31 [JS IR] Implement KProperty runtime utils 2020-03-03 18:54:36 +03:00
Roman Artemev 6e75b56388 [JS IR] Fix bridge modality 2020-03-03 18:54:36 +03:00
Roman Artemev 161bb72439 [JS IR] Update test data 2020-03-03 18:54:36 +03:00
Roman Artemev 97b97ddbd7 [JS IR] Fix phases
- update phase description
 - remove unused phases
2020-03-03 18:54:35 +03:00
Roman Artemev cf41172521 [JS IR] A bunch of fixes to make PIR mode work
- provide required mappings
 - fix fake overrides
 - fix local declaration lowering
 - fix DCE
2020-03-03 18:54:35 +03:00
Roman Artemev f8d155c6a3 [JS IR] Fix native invoke checker 2020-03-03 18:54:35 +03:00
Roman Artemev 9e1c52f8cb [JS IR] Fix this reference name generation 2020-03-03 18:54:35 +03:00
Roman Artemev 536e380331 [JS IR] Fix kotlin.test framework 2020-03-03 18:54:35 +03:00
Roman Artemev 293ddb5389 [JS IR] Fix inline classes for new callable reference scheme 2020-03-03 18:54:35 +03:00
Roman Artemev 0e67c6ac7d [JS IR] Update coroutine runtime 2020-03-03 18:54:35 +03:00
Roman Artemev b9eff4b246 [JS IR] Make coroutines work with new lambda scheme
- Do not create extra class for suspend lambda
2020-03-03 18:54:35 +03:00
Roman Artemev 3783205fb7 [JS IR] Lower suspend lambda as a regular lambda 2020-03-03 18:54:35 +03:00
Roman Artemev 26237f8bd5 [JS IR] Implement new function references scheme 2020-03-03 18:54:34 +03:00
Vyacheslav Gerasimov 2f087fe7a2 Build: Fix kotlin-stdlib-js-ir:tryRunFullCli task inputs 2020-03-03 18:46:05 +03:00
Dmitry Gridin b4898e4043 Put arguments/parameters on separate/one line should update trailing comma
#KT-36411 Fixed
2020-03-03 21:53:11 +07:00
Dmitry Gridin 173f90c89c AbstractIntentionTest: support code style and registry settings 2020-03-03 21:53:11 +07:00
Dmitry Gridin baf2dd6b9b KotlinLightCodeInsightFixtureTestCase: add configureCodeStyleAndRun 2020-03-03 21:53:11 +07:00
pyos f66b994946 JVM_IR: make suspend lambda invoke()/create() creation shorter
Also, fix finality of fields corresponding to unbound parameters. (They
are set in invoke/create, not in the constructor.)
2020-03-03 15:12:13 +01:00
pyos 6184171a11 JVM_IR: carry less state while transforming suspend funs into views 2020-03-03 15:12:13 +01:00
pyos 5896d8003e JVM_IR: unify generateStateMachineFor{Lambda,NamedFunction} 2020-03-03 15:12:13 +01:00
pyos 159d292ea7 JVM_IR: make continuation detection more consistent
* unify various checks for whether a suspend function needs a
    continuation;

  * mark the continuation parameter with an origin (this also allows
    correctly computing the offset of the local in codegen -- see the
    new test);

  * when wrapping `suspend fun main`, use a suspend reference instead of
    a synthetic non-suspend lambda (required to correctly implement the
    previous point, as previously the continuation parameter was passed
    to main() itself correctly only because of very lenient checks in
    AddContinuationLowering).
2020-03-03 15:12:13 +01:00
Vyacheslav Gerasimov c57f466494 Build: Use same com.eclipsesource.j2v8 artifact for compilation
We can't reuse caches from different platform when we compile against
different jar on each platform. Since they have same api we may use
platform specific jars only for runtime.
2020-03-03 16:47:55 +03:00