Commit Graph

62573 Commits

Author SHA1 Message Date
Mikhael Bogdanov 6e855f3bbd Split 'analyzeAndCheck' into 'shouldSkipTest' and 'setupEnvironment' 2020-03-04 14:51:11 +01:00
Mikhael Bogdanov 9052ef06a7 Introduce configureEnvironment, avoid 'createEnvironment' calls 2020-03-04 14:51:10 +01:00
Mikhael Bogdanov a795c38eb7 Introduce base class for codegen and diagnostic tests
Extract base TestFile and TestModule classes.
 Move coroutinePackage related logic to base class
2020-03-04 14:51:10 +01:00
LepilkinaElena b031706ea9 Added Native-specific frontend checker for @SharedImmutable (#3091) 2020-03-04 16:45:37 +03:00
Georgy Bronnikov 8b559b20e2 Add a test for getOrDefault() bridge 2020-03-04 16:02:54 +03:00
Georgy Bronnikov dd7d5dfdb3 JVM_IR: try to avoid resolveFakeOverride() in BridgeLowering
One of the uses can be avoided, the other remains.
Special overrides are now generated for MutableMap.remove and
getOrDefault when there is an intermediate Java class, same as in old
backend.
2020-03-04 16:02:54 +03:00
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