Denis Zharkov
56c793ffc6
FIR: Minor. Extract FirDeclarationsResolveTransformer::doTransformRegularClass
...
It's will be useful in the following commits
2020-05-15 16:04:44 +03:00
Denis Zharkov
7489b9f636
FIR: Minor. Inline processMembersForExplicitReceiver
2020-05-15 16:04:44 +03:00
Denis Zharkov
fee639258c
FIR: Simplify file imports scope tracking
2020-05-15 16:04:44 +03:00
Denis Zharkov
8a51bb7810
FIR: Minor. Unbound FirTowerResolverSession from FirLocalScope
2020-05-15 16:04:44 +03:00
Denis Zharkov
8363671cab
FIR: Inline constructor parameter at FirTowerResolverSession
2020-05-15 16:04:44 +03:00
Denis Zharkov
75c4239504
Add "*.png binary" to .gitattributes
2020-05-15 16:04:44 +03:00
Toshiaki Kameyama
1d39ac1d3e
Move statement: do not move when function last parameter is on same line as right parenthesis
...
#KT-14757 Fixed
2020-05-15 15:02:58 +02:00
Jinseong Jeon
615636ed55
FIR2IR: apply SAM conversion to arguments of functional type.
2020-05-15 15:08:43 +03:00
Vladimir Dolzhenko
599c5dd474
Collect unique subtypes from incremental compilation cache
2020-05-15 10:48:55 +00:00
Vladimir Dolzhenko
2f3ff10204
formatting clean up
2020-05-15 10:48:54 +00:00
simon.ogorodnik
e101f88b50
[FIR] Add lines per second metric
2020-05-14 20:58:27 +03:00
Toshiaki Kameyama
8a595ad165
Move statement: Add or remove empty lines correctly
...
#KT-14946 Fixed
2020-05-14 18:57:56 +02:00
Victor Petukhov
73dec25eb1
NI: intersect DFI types before capturing
...
^KT-37887 Fixed
2020-05-14 19:54:59 +03:00
Toshiaki Kameyama
5a7ceec985
Color settings: use "Static field" instead of "Instance field" for "Enum entry" language defaults
...
#KT-15143 Fixed
2020-05-14 18:40:00 +02:00
Ilya Gorbunov
0e67e8e747
Advance bootstrap to 1.4.0-dev-8447
2020-05-14 19:35:00 +03:00
Roman Artemev
34bdd95e50
[JS SCRIPT] Enable js script test along with other script tests
2020-05-14 17:58:33 +03:00
Roman Artemev
9d9930f748
[JS SCRIPT] Fix test dependencies
...
- make sure kotlin stdlib is compiled and accessible
2020-05-14 17:58:33 +03:00
Roman Artemev
0e21dd15ba
[JS SCRIPT] Fix script test data
2020-05-14 17:58:33 +03:00
Roman Artemev
31af1e6ca7
[JS SCRIPT] Fix ScriptDependencyCompiler
...
- Invoke KotlinIrLinker properly
2020-05-14 17:58:33 +03:00
Roman Artemev
52a93f189e
[JS SCRIPT] Fix IrBuiltIns to make it stable if symbols already defined
2020-05-14 17:58:32 +03:00
Roman Artemev
8f71bdbf01
[JS SCRIPT] Fix IrScript visit order
2020-05-14 17:58:32 +03:00
Roman Artemev
f792c5c936
[JS SCRIPT] Fix default arguments in script
2020-05-14 17:58:32 +03:00
Roman Artemev
996137576e
[JS SCRIPT] Fix script lowering
2020-05-14 17:58:32 +03:00
Roman Artemev
e573efb3a5
[JS SCRIPT] Handle IrScript in mangler correctly
2020-05-14 17:58:32 +03:00
Yaroslav Chernyshev
785fa7dd1c
[Gradle, Import] Ignore incompatible test runs for Native targets.
...
#Fixed KT-34516
2020-05-14 17:43:00 +03:00
Nikolay Krasko
e2857a910b
Minor: show existing modules in absent error in gradle tests
2020-05-14 16:13:38 +03:00
Nikolay Krasko
189a9dbc02
201: Mute tests with changed module names after idea update (KT-37125)
...
Problems started with commit:
https://github.com/JetBrains/kotlin/commit/67fdc5db3bd91ee836843f95adcbaf2ddf53028b
2020-05-14 16:13:37 +03:00
Alexander Udalov
82551e91a4
Add KClass.isFun modifier to reflection
...
#KT-38881 Fixed
2020-05-14 14:05:51 +02:00
Anton Bannykh
86b5c63891
JS IR: fix origin for callable references with bound reciever
...
In case of IrFunctionReference with type SuspendFunction (no K!) there
was a misalignment between the base class (Any) and the
origin (LAMBDA..). As a result the SuspendFunctionLowering was
getting confused and produced hanging code.
2020-05-14 14:33:12 +03:00
Anton Bannykh
bdca4b45bd
JS: inliner supports extra argument caused by suspend conversions
2020-05-14 14:33:12 +03:00
Alexander Udalov
ed8efafa9b
Generate InnerClasses attribute for nested classes in annotation arguments
...
Otherwise we incorrectly try to load a nested class "A.B" as if it is a
top level class named "A$B" and fail.
#KT-38853 Fixed
2020-05-14 13:20:13 +02:00
Mikhail Glukhikh
cdac6157a9
[FIR2IR] Force loading Java SAM from external classes
2020-05-14 14:07:40 +03:00
Jinseong Jeon
89a6ecd77d
[FIR] Update argument mapping while transforming integer operator.
2020-05-14 13:42:07 +03:00
Juan Chen
858731cac8
[FIR] add support for varargs in delegated constructor calls
...
Also add support for spread operators as named arguments.
2020-05-14 13:42:07 +03:00
Mikhail Glukhikh
3652ac9354
[FIR2IR] Mute 2 failing BB tests
...
Looks like both tests are failing because now only classes from
'kotlin.*' are considered "external" and generated with declarations.
2020-05-14 13:40:37 +03:00
Mikhail Glukhikh
d8398bb0ab
[FIR2IR] Handle external declaration parents more accurately
...
This allows us to set declaration parent immediately,
not at some moment after its creation
2020-05-14 13:40:37 +03:00
Mikhail Glukhikh
6beee004a3
[FIR2IR] Take callables from scope in external declaration generator
...
This commit fixes 2 more unmuted BB tests
2020-05-14 13:40:37 +03:00
Mikhail Glukhikh
12c0cbee94
[FIR2IR] Don't enter same class twice while override searching
...
This commit fixes 21 unmuted BB tests after previous one
2020-05-14 13:40:37 +03:00
Mikhail Glukhikh
00fcb6cb02
[FIR2IR] Minor refactoring of populateOverriddenSymbols
2020-05-14 13:40:36 +03:00
Mikhail Glukhikh
e7e80be34a
[FIR2IR] Populate overridden symbols even for !isOverride
...
Before this commit we considered !isOverride as a sign that
function / field / accessor has no overridden symbols.
However, it's false for deserialized, because isOverride
is always false there.
This commit fixes 68 BB tests but breaks 25 BB tests (not yet muted)
2020-05-14 13:40:36 +03:00
Dmitriy Dolovov
ac1e96500a
[Commonizer] Added README.md
2020-05-14 17:35:16 +07:00
Toshiaki Kameyama
08588001be
Redundant suspend modifier: do not report when the function has 'actual' modifier
...
#KT-37746 Fixed
2020-05-14 12:08:52 +02:00
Ilya Gorbunov
188bcf0e7b
stdlib-js-ir: do not copy source directories from the same project
2020-05-14 10:40:34 +03:00
Ilya Gorbunov
46b0784508
Disable kotlinMetadata compilation for js-ir-minimal-for-test
...
Use more convenient way to specify dependency on source syncing tasks.
2020-05-14 10:40:18 +03:00
Jinseong Jeon
bcf277d885
Add comments for generators about data/inline class (in psi2ir and fir2ir) and annotations (fir2ir).
2020-05-14 09:41:11 +03:00
Jinseong Jeon
e844c59e7e
FIR2IR: filter correct use-site target for value parameter annotations.
2020-05-14 09:41:11 +03:00
Jinseong Jeon
76e679a6ca
FIR2IR: refactor annotation generations.
2020-05-14 09:41:11 +03:00
Jinseong Jeon
931ba4892a
FIR2IR: split property annotations according to use-site targets.
2020-05-14 09:41:11 +03:00
Steven Schäfer
9bc8fdcb3c
JVM IR: Validate corresponding properties
2020-05-13 20:57:52 +02:00
Steven Schäfer
13f15a702b
JVM IR: Remove corresponding property hacks from MethodSignatureMapper
2020-05-13 20:57:52 +02:00