Steven Schäfer
8c06f7daae
Fix IR declaration parents.
...
- Reparent declarations in FileClassLowering, InterfaceLowering,
StaticDefaultFunctionsLowering, EnumClassLowering, and
RenameFieldsLowering
- Set correspondingPropertySymbol in MoveCompanionObjectFieldsLowering
- Reparent field initializers in MoveCompanionObjectFieldsLowering and
EnumClassLowering
- Ensure that parents are unique in PropertiesLowering
- Set declaration parent in SharedVariableManager
- Set field declaration parents in CallableReferenceLowering
- Set declaration parents in FunctionNVarargInvokeLowering
- Set declaration parents for external declaration fields
2019-04-23 12:51:27 +02:00
Yan Zhulanow
f39908b411
Minor: Fix configuration test, lower requirement on Kotlin plugin
2019-04-23 12:38:28 +03:00
Yan Zhulanow
b35ed2602c
Pill: Fix test dependencies handling
2019-04-23 12:38:28 +03:00
Yan Zhulanow
038c320594
Pill: Filter duplicating entries for SelfResolvingDependencies
2019-04-23 12:38:28 +03:00
Yan Zhulanow
b8aaf017ea
Pill: Update module names in tasks
...
Pill now uses module names based on Gradle project paths.
Run configurations should be aware of the new names.
2019-04-23 12:38:28 +03:00
Mikhail Glukhikh
4a5b900d28
FIR: get rid of library type parameter symbol
2019-04-23 11:51:36 +03:00
Simon Ogorodnik
649c2f6bcc
FIR deserializer: load type-parameters correctly
2019-04-23 11:51:05 +03:00
Simon Ogorodnik
853167a24d
FIR deserializer: handle class type parameters properly
2019-04-23 11:41:07 +03:00
Mikhail Glukhikh
2476c0299f
FIR Java: fix constructor enhancements
...
Before this commit,
we generated regular member functions as constructor enhancement.
Now, we generate constructors as constructor enhancement.
2019-04-23 11:41:05 +03:00
Simon Ogorodnik
2e966a7ded
FIR deserializer: load type-parameters for kotlin function properly
2019-04-23 11:41:03 +03:00
Simon Ogorodnik
9bbf5bebd2
Raw FIR: support typing for delegated constructor call
2019-04-23 11:41:01 +03:00
Simon Ogorodnik
73b1676a03
Raw FIR: fix unary operators (now convention calls use receivers)
2019-04-23 11:40:32 +03:00
Mikhail Glukhikh
77e83dd8cf
Raw FIR: introduce string concatenation call
...
This removes some 'plus' calls to be resolved
2019-04-23 11:35:41 +03:00
Simon Ogorodnik
8d2acd790d
FIR Java: use safer cases in use-site scope to allow constructors
2019-04-23 11:21:46 +03:00
Mikhail Glukhikh
618295f505
FIR: implement trivial typing for break & continue
2019-04-23 11:18:24 +03:00
Mikhail Glukhikh
b9f09afc6f
Raw FIR: introduce lambda argument expressions
...
Without it we cannot distinguish lambda argument from just last argument
2019-04-23 11:15:26 +03:00
Mikhail Glukhikh
cf72b13d84
Add accessor symbols & test for property overriding in Java
2019-04-23 11:15:24 +03:00
Simon Ogorodnik
9abf4062b1
FIR tree: implement trivial expressions typing
2019-04-23 11:14:55 +03:00
Simon Ogorodnik
c3632487d0
FIR Java: improve symbol provider laziness
2019-04-23 09:49:29 +03:00
Simon Ogorodnik
98f4fa1f6c
FIR Java: fix too strict cast in use-site scope
2019-04-23 09:49:29 +03:00
Simon Ogorodnik
539fcf82ef
Fix deprecation in FIR super type resolver
2019-04-23 09:49:29 +03:00
Mikhail Glukhikh
47f61b2917
Revert "Include FIR modules into compiler #KT-30243 Fixed"
...
This reverts commit 053aa8ca . It causes
"IllegalArgumentException: org.gradle.*.DefaultClassLoaderScope@13fca663
must be locked before it can be used to compute a classpath!"
in Gradle integration tests
2019-04-23 09:47:18 +03:00
Ilya Kirillov
d2a3d00548
New J2K: fix existing test data
2019-04-22 22:54:48 +03:00
Ilya Kirillov
101ae75b8c
New J2K: fix lost JavaMapForEachInspection in post-processing
2019-04-22 22:54:48 +03:00
Ilya Kirillov
c4d07bd7e7
New J2K: reduce boilerplate code in post-processings for registerDiagnosticBasedProcessing's
2019-04-22 22:54:48 +03:00
Ilya Kirillov
c0ec36b3e9
New J2K: fix wrong JKTypeCastExpression children initialisation
2019-04-22 22:54:48 +03:00
Ilya Kirillov
bb81ad7b5f
New J2K: do not convert Java string type to a Kotlin one because of wrong constructor calls
2019-04-22 22:54:48 +03:00
Ilya Kirillov
7e7e8f7631
New J2K: add support of lambda expressions in nullabilityAnalysis
2019-04-22 22:54:48 +03:00
Ilya Kirillov
1ffe07bb6c
New J2K: fix wrong psi modification in ConvertDataClass
2019-04-22 22:54:47 +03:00
Ilya Kirillov
f11311a20b
New J2K: add support of method reference conversion
2019-04-22 22:54:47 +03:00
Ilya Kirillov
8f4f80256a
New J2K: do not add extra !! in ImplicitCastsConversion because it would be added later in post-processing
2019-04-22 22:54:47 +03:00
Ilya Kirillov
67770eb86b
Fix "New J2K: external annotations support for nullability analysis"
2019-04-22 22:54:47 +03:00
Ilya Kirillov
c39a54d40c
Fix "New J2K: pass converter context to postprocessing"
2019-04-22 22:54:47 +03:00
Ilya Kirillov
9e1a858bed
New J2K: fix exception in ConvertGettersAndSetters if function is called set
2019-04-22 22:54:47 +03:00
Ilya Kirillov
2ce7dc9d19
New J2K: external annotations support for nullability analysis
2019-04-22 22:54:47 +03:00
Ilya Kirillov
0a88276f68
Make mustNotBeNull function from JavaNullabilityChecker available for J2K
2019-04-22 22:54:47 +03:00
Ilya Kirillov
98651f3484
New J2K: add element info storage, pass info about types & functions via it
2019-04-22 22:54:47 +03:00
Ilya Kirillov
39b09b39ff
New J2K: pass converter context to postprocessing
2019-04-22 22:54:46 +03:00
Ilya Kirillov
c4a238cca4
KT-26550: do not show "Convert Java File to Kotlin File" action for external libraries
...
#KT-26550 fixed
2019-04-22 22:54:46 +03:00
Vyacheslav Gerasimov
8723ad4f46
Switch to 191 platform
2019-04-22 21:52:19 +03:00
Sergey Rostov
21232d202e
JPS Build, 191: update artifacts
2019-04-22 21:52:02 +03:00
Vyacheslav Gerasimov
1551f39daa
Update asm version to 7.0.1 everywhere
2019-04-22 21:52:01 +03:00
Vyacheslav Gerasimov
aff9da72a8
Update 191 platform to 191.6707.61
2019-04-22 21:52:00 +03:00
Vyacheslav Gerasimov
67a194fa8c
Remove broken 192 bunch files
2019-04-22 21:46:57 +03:00
Vyacheslav Gerasimov
6059725c76
Add 192 to .bunch
2019-04-22 21:00:10 +03:00
Svyatoslav Kuzmich
b1d303b027
Reorganize stdlib-js sources specific to the current JS backend
...
Move kotlin-stdlib-js project and the sources specific to the current backend to 'stdlib/js-v1' directory,
but leave sources that can be shared with the new IR backend in the common 'stdlib/js' location
with exception for 'stdlib/js/src/generated', which is used exclusively for current backend.
This simplifies sourceset configuration when building stdlib with the new backend.
2019-04-22 20:30:57 +03:00
Svyatoslav Kuzmich
9dd9efd4aa
[JS IR BE] Fix isQUnit for JS IR BE
2019-04-22 20:30:57 +03:00
Svyatoslav Kuzmich
d7be91e8a4
[JS IR BE] Add SIZE_BYTES and SIZE_BITS to Long and Char
2019-04-22 20:30:57 +03:00
Alexander Gorshenev
3ae64061c1
Minimal tweaks in IR Validation code just to be able to turn it on in Native.
2019-04-22 19:42:33 +03:00
Mikhail Glukhikh
053aa8ca1e
Include FIR modules into compiler #KT-30243 Fixed
2019-04-22 15:48:46 +03:00