Mikhail Glukhikh
03eab2ec6c
FIR2IR: get rid of setParentAndContent + fixes around anonymous objects
2020-03-04 16:55:32 +03:00
Mikhail Glukhikh
20eddef06f
FIR2IR: eliminate hacky replacement for invoke() & next() calls
...
At this moment the generic logic for fake override calls
replacement is in use.
2020-03-04 16:55:32 +03:00
Mikhail Glukhikh
50c4c3f4fb
FIR2IR: extract fake override generator
2020-03-04 16:55:32 +03:00
Mikhail Glukhikh
0bb3a42ceb
FIR2IR: mute black box test due to parent logic problems
2020-03-04 16:55:32 +03:00
Mikhail Glukhikh
698e259438
FIR2IR: register file first and convert declarations second
...
This allows to find parent declaration from another file correctly
2020-03-04 16:55:31 +03:00
Mikhail Glukhikh
cfa626ad77
FIR2IR: introduce conversion scope, remove dispatch receiver for lambdas
2020-03-04 16:55:31 +03:00
Mikhail Glukhikh
a14cb075c3
FIR2IR: inline some conversion one-liners
2020-03-04 16:55:31 +03:00
Mikhail Glukhikh
4c2522631b
FIR2IR (refactoring): introduce Fir2IrTypeConverter
2020-03-04 16:55:31 +03:00
Mikhail Glukhikh
9257949a5a
Minor: eliminate unused typeContext in FIR2IR
2020-03-04 16:55:30 +03:00
Mikhail Glukhikh
211411a920
Fix FIR test data according to last changes of demiurg
2020-03-04 16:55:30 +03:00
Mikhael Bogdanov
32bcab2867
Switch rest of test to new scheme with configuration kind processing
2020-03-04 14:51:21 +01:00
Mikhael Bogdanov
46397dca4a
Switch 'AbstractVisualizer' to new scheme with configuration kind
2020-03-04 14:51:20 +01:00
Mikhael Bogdanov
ae9a91e17d
Switch 'AbstractCompilerLightClassTest' to new scheme with configuration kind
2020-03-04 14:51:19 +01:00
Mikhael Bogdanov
f84ac5e3f9
Remove configuration kind from AbstractDumpDeclarationsTest tests
2020-03-04 14:51:18 +01:00
Mikhael Bogdanov
e3efab5765
Remove FULL_JDK from AbstractFirResolveTestCaseWithStdlib tests
2020-03-04 14:51:17 +01:00
Mikhael Bogdanov
0a8454d5fc
Remove FULL_JDK from AbstractForeignAnnotationsTest tests
2020-03-04 14:51:16 +01:00
Mikhael Bogdanov
59679476f6
Always create test files, directive processing would be based on them
...
This is required for extracted 'getTestJdkKind' in previous commits
2020-03-04 14:51:16 +01:00
Mikhael Bogdanov
dbdc4d9ee0
Move 'extractConfigurationKind' to base class, use it in KotlinMultiFileTestWithJava
2020-03-04 14:51:15 +01:00
Mikhael Bogdanov
7040857d77
Convert KotlinMultiFileTestWithJava.java to Kotlin
2020-03-04 14:51:14 +01:00
Mikhael Bogdanov
06a36465a5
Rename .java to .kt
2020-03-04 14:51:13 +01:00
Mikhael Bogdanov
999b762288
Merge 'getTestJdkKind' and 'getJdkKind' and move to base class
2020-03-04 14:51:12 +01:00
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