Kirill Knize
c662813b09
New J2K: Implement transformChildren here and there
...
PR (#6 )
2019-04-03 11:18:33 +03:00
Simon Ogorodnik
2f38edb55f
New J2K: Display element type when hit visitElement
2019-04-03 11:18:32 +03:00
Simon Ogorodnik
a4630af109
New J2K: Simple code builder
2019-04-03 11:18:31 +03:00
Simon Ogorodnik
dc73d415ad
New J2K: Fix declarations to JK conversion
2019-04-03 11:18:31 +03:00
Dimach
dd499d7a13
New J2K: Rebase to latest changes.
2019-04-03 11:18:30 +03:00
Dimach
a94957aa0f
New J2K: Added java -> jk converter for new array, type cast, array access and parenthesized expression.
2019-04-03 11:18:30 +03:00
Dimach
4ecbd13e06
New J2K: Added java -> jk converter for new expression.
2019-04-03 11:18:29 +03:00
Dimach
5bf806b85c
New J2K: Added java -> jk converter for field access.
2019-04-03 11:18:28 +03:00
Dimach
98d01d600a
New J2K: Added java -> jk converter for method call.
2019-04-03 11:18:28 +03:00
Dimach
9bfd8e4453
New J2K: Added basic expression converter.
2019-04-03 11:18:27 +03:00
Knize
d17548ba73
New J2K: Nj2k modifiers hierarchy ( #3 )
2019-04-03 11:18:26 +03:00
Knize
24803e31fd
New J2K: Add class mapper
2019-04-03 11:18:26 +03:00
knize
e3097d8c1f
New J2K: class tree mapper
2019-04-03 11:18:25 +03:00
Simon Ogorodnik
e33df530cd
New J2K: First conversion
2019-04-03 11:18:25 +03:00
Simon Ogorodnik
8ac5eadadc
New J2K: Update transformers to new style
2019-04-03 11:18:24 +03:00
Simon Ogorodnik
517dd9a260
New J2K: Fix debug tree printer after switching to single visitor
2019-04-03 11:18:23 +03:00
Simon Ogorodnik
8ff78611ba
New J2K: Make generics in transformers accept least common interface
2019-04-03 11:18:23 +03:00
Simon Ogorodnik
c1f50d3594
New J2K: Drop separated visitors
2019-04-03 11:18:22 +03:00
Simon Ogorodnik
68c03a6236
New J2K: Add transformers
2019-04-03 11:18:22 +03:00
Simon Ogorodnik
4f7c46741e
New J2K: Add debug tree visitor and some tree elements
2019-04-03 11:18:21 +03:00
Simon Ogorodnik
3ff0287c9f
New J2K: Stub for JavaField initializer
2019-04-03 11:18:20 +03:00
Simon Ogorodnik
e77fe74284
New J2K: Add Block primitive
2019-04-03 11:18:20 +03:00
Simon Ogorodnik
7ce3c57896
New J2K: Add some primitive tests for new converter
2019-04-03 11:18:19 +03:00
Simon Ogorodnik
66d6ac745f
New J2K: Implement basic output generation
2019-04-03 11:18:18 +03:00
Simon Ogorodnik
5fd3a78dbe
New J2K: Add basic tree structure and visitor generation script
2019-04-03 11:18:18 +03:00
Simon Ogorodnik
9d9dbb4c25
New J2K: Add stub for JKTree builder
2019-04-03 11:18:17 +03:00
Simon Ogorodnik
f50254d555
New J2K: Move TODO to NewJavaToKotlinConverter
2019-04-03 11:18:17 +03:00
Simon Ogorodnik
ff0b09f77b
New J2K: Replicate J2K Single File test for New J2K
2019-04-03 11:18:16 +03:00
Simon Ogorodnik
b151e9c48c
New J2K: Add New J2K entry-point stub
2019-04-03 11:18:15 +03:00
Simon Ogorodnik
fb49267819
New J2K: Cleanup J2K single file test and make it extensible
2019-04-03 11:18:15 +03:00
Simon Ogorodnik
f2595e58e5
New J2K: Add newSrc source root for J2K
2019-04-03 11:18:14 +03:00
Simon Ogorodnik
1fd5738a60
Add kapt3-idea to J2K classpath to avoid spam in logs
2019-04-03 11:18:14 +03:00
Vyacheslav Gerasimov
394031a183
Build: Fix upload_plugins.gradle broken after migration to gradle 5.0
...
`<< {` syntax is removed since gradle 5.0
2019-04-02 23:14:23 +03:00
Ilya Gorbunov
04bbf23936
Add explicit imports of kotlin.ranges more specific functions
...
The extensions 'contains' and 'reversed' from kotlin.ranges can be more
specific for IntRange, LongRange, etc than the same functions from
kotlin.collections, yet they lose in overload resolution to the latter
ones when invoked from kotlin.collections package
because of same package package extensions are preferred (KT-30633).
2019-04-02 21:28:33 +03:00
Ilya Gorbunov
d77f76bdb0
Clarify wording in Random.nextInt/Long/UInt/ULong docs
...
#KT-30704 Fixed
2019-04-02 21:28:32 +03:00
Andrey Uskov
792fae4afc
Optimize memory usage during import of MPP projects
...
#KT-30767 Fixed
2019-04-02 21:23:07 +03:00
Dmitry Gridin
3ca1c7b55d
"Convert property to function" intention should warn about the property overloads at child class constructor
...
#KT-29764 Fixed
2019-04-02 22:53:56 +07:00
Dmitry Gridin
c8ea62a0d9
Change function signature should change type parameters
...
#KT-22896 Fixed
2019-04-02 22:53:13 +07:00
Dmitry Gridin
5e613554ee
Minor: refactoring ChangeMemberFunctionSignatureFix
2019-04-02 22:53:13 +07:00
Dmitry Gridin
c48c274e59
Minor: refactoring ChangeFunctionSignature quickfix
2019-04-02 22:53:13 +07:00
Ilya Matveev
cb38f13399
Gradle plugin: Enable missing mingw_x86 target for K/N
2019-04-02 20:59:12 +07:00
Alexander Gorshenev
4332ce9884
Grab constructor call type parameters from its class, not from the contructor
2019-04-02 16:55:58 +03:00
Toshiaki Kameyama
e082522cdf
Strip trailing spaces on Save: do not strip trailing spaces inside raw String
...
#KT-13048 Fixed
2019-04-02 15:27:08 +03:00
Ting-Yuan Huang
9fc869397d
IrBuiltins: refactoring for equality checks
...
Previously,
* Equals performs IEEE 754 equality check for floating points and
byte-to-byte checks for other types, including references.
* Ieee754Equals performs IEEE 754 for primitive types
* TotalOrderEquals performs total order equals to all types, including
floating points.
Now it is simplified,
* Equals performs total order checks for all types.
* Ieee754Equals performs IEEE 754 for primitive types.
* (TotalOrderEquals is removed.)
2019-04-02 13:16:31 +02:00
Ilya Chernikov
9ddb64288c
Avoid warning about scripting subplugin for MPP project
...
Temporary solution, the subplugin should be adapted to the new MPP
#KT-30742 fixed
2019-04-02 12:28:06 +02:00
Mikhail Zarechenskiy
63bdabcfae
[NI] Clean up after merge with 3998e842
2019-04-02 12:21:15 +03:00
Mikhail Zarechenskiy
c458393e2f
[NI] Do not avoid trivial constraints if they aren't from upper bounds
...
Since we skipped trivial constraint with `Any?` from parameter type of
function `equals`, the compiler thought that there is no proper
constraints (upper bounds do not matter here) and marked resolved
call as a failed one, then diagnostic about missing equals was added
Also, tune `TrivialConstraintTypeInferenceOracle` for `Any?`-like
constraints
#KT-30724 Fixed
2019-04-02 12:21:14 +03:00
Mikhail Zarechenskiy
5fa518fd55
Revert "Temporary fix for NI to compile against bootstrap compiler"
...
This reverts commit 791ab05e08 .
Problem was fixed in 4a1b9dcc & 1ac35420
2019-04-02 12:21:14 +03:00
Nikolay Krasko
5723bfdcaf
Add a point about invalidated state between inspection checks and quick-fix run
2019-04-02 11:48:47 +03:00
Burak Eregar
9ab54d0e44
Fix: String templates suggest removing curly braces for backtick escaped identifiers
2019-04-02 11:48:47 +03:00