Dmitry Gridin
50506658c0
fix some tests for as36
2020-05-08 19:13:28 +07:00
Ilya Kirillov
41f7519244
Fix old j2k test data to actual one
2019-09-24 16:22:24 +03:00
Ilya Kirillov
58db64a478
J2K: Fix old J2K test data's error messages which has changed due to new inference
2019-07-25 14:34:36 +03:00
Ilya Kirillov
b411e8e18e
New J2K: Split old j2k and new j2k tests
2019-04-03 11:24:19 +03:00
Ilya Kirillov
b13f7431f2
New J2K: Fix existing test data
2019-04-03 11:24:13 +03:00
Ilya Kirillov
ea2081c2f0
New J2K: Fix existing test data
2019-04-03 11:23:33 +03:00
Ilya Kirillov
f8b8d07621
New J2K: Fix existing test data
2019-04-03 11:23:29 +03:00
Ilya Kirillov
f752796408
New J2K: Fix existing test data
2019-04-03 11:21:19 +03:00
Simon Ogorodnik
57e47d1830
Propose convert to string template as inspection more frequent
2018-02-26 12:11:18 +03:00
Dmitry Jemerov
5652fa762f
Force no line break after dot in chained calls
...
#KT-20362 Fixed
2017-12-22 10:35:22 +01:00
Simon Ogorodnik
0560ba7929
KT-19943: Remove redundant type conversions in J2kPostProcessing
...
Don't remove them in converter itself
2017-11-13 15:54:33 +03:00
a2kaido
083c3d8a5d
KT-19943: Remove redundant special type unboxing calls in J2K
...
#KT-19943 Fixed
2017-11-13 15:54:33 +03:00
Toshiaki Kameyama
a6c2135851
Counter loop in Java is transformed to less effective loop in Kotlin #KT-19337 Fixed
2017-08-29 17:37:58 +02:00
Dimach
f0035a7be0
KT-17379: Fix J2K removal of parentheses in multiline expressions
...
When there is multiline polyadic expression with some operators
J2K should keep surrounding parentheses, otherwise
operators will be dangling due resolved to prefix variant
#KT-17379 fixed
2017-08-23 20:47:01 +03:00
Amane Nikaido
0fd5c6f1ca
KT-19634: Fix <boxed_value> == <primitive_value> converted to reference equality
...
#KT-19634 fixed
2017-08-18 15:20:26 +03:00
Dimach
a59021a25e
KT-18786: J2K should move all properties to top of class
...
#KT-18786 fixed
2017-07-20 01:15:15 +03:00
Dmitry Jemerov
5f9a33564a
Implement option for wrapping method annotations
2017-07-07 16:48:31 +02:00
Denis Zharkov
bc564af2fc
Regenerate mockJDK using openJDK 7
2017-06-24 17:26:01 +03:00
Simon Ogorodnik
e41c027c9a
Add IDEA data-flow analysis to guess nullability
...
Add "if return..." folding to "return if"
2017-06-07 21:21:36 +03:00
Simon Ogorodnik
6a8bb8b33d
Fix CCE in constructNestedClassReferenceIdentifier J2K
...
#KT-17712 fixed
2017-05-22 13:55:26 +03:00
Nikolay Krasko
d58707972d
Keep empty bodies for declarations with comments (KT-16078)
...
#KT-16078 Fixed
2017-02-17 15:57:11 +03:00
Simon Ogorodnik
b7a5ff456f
Reformatted testData
2017-01-10 16:20:58 +03:00
Simon Ogorodnik
41aaaa6a0d
Fix for KT-6790 J2K: Static import of Map.Entry is lost during conversion
...
#KT-6790 fixed
2017-01-10 16:20:58 +03:00
Nikolay Krasko
2841931ffa
Do not force new line in body for empty functions and function expressions (KT-10828)
...
#KT-10828 Fixed
2016-12-14 13:35:31 +03:00
Simon Ogorodnik
b51f5c5bd9
Fix for KT-14248 J2K: Invalid constructor formatting after conversion
...
Caused by `\n\n long mLong = 0;` leading line breaks
2016-10-27 20:02:23 +03:00
Simon Ogorodnik
e7635652bc
Fix for KT-14205
...
If detected unfinished expression it passed through, added warning on action "Convert Java to Kotlin", if Java files contains syntax errors.
2016-10-12 19:01:58 +03:00
Simon Ogorodnik
df0dddedc2
Fixes for test(@JvmStatic -> const), fix for prototype assign
2016-10-12 11:56:54 +03:00
Simon Ogorodnik
115d63a2f3
#KT-13750 fix ( #951 )
2016-09-13 18:12:22 +03:00
Valentin Kipyatkov
bac5c4d70b
Fixed test data after commit: https://github.com/JetBrains/kotlin/commit/602de317d68c3a4408829e2f1c7e93f31936399f
2016-05-04 16:26:44 +03:00
Valentin Kipyatkov
92af610322
KT-12045 J2K: creating Object() instance could be converted to Any()
...
#KT-12045 Fixed
2016-04-29 18:13:53 +03:00
Alexander Udalov
e915e1548c
Fix multiple 'unresolved java classifier' errors
...
Use the same component (NotFoundClasses) as in loading of compiled Kotlin
symbols.
Some tests were changed to avoid a diagnostic that is now reported when a
non-found class is encountered in a signature (e.g. staticMethod.1.java where
JDK seems to be not configured)
#KT-10493 Fixed
#KT-10820 Fixed
#KT-11368 Fixed
2016-03-28 14:13:59 +03:00
Natalia Ukhorskaya
4bc4f0bce7
J2K: not initialized field of non-primitive type should have null initializer
...
#KT-11544 Fixed
2016-03-25 20:27:19 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Natalia Ukhorskaya
513c4a4562
J2K: transform loops with double, float and char range with while
...
#KT-899 Fixed
2015-12-18 16:14:17 +03:00
Natalia Ukhorskaya
ecdef71580
J2K: cast right operand of equals for primitive types to left operand type
...
#KT-9997 Fixed
2015-12-18 16:14:16 +03:00
Natalia Ukhorskaya
1d787ed222
J2K: Insert initializer type for properties with primitive type if necessary
2015-12-18 16:14:15 +03:00
Valentin Kipyatkov
d78390e489
KT-10004 Java to Kotlin: array.length is converted to array.size() instead of array.size
...
#KT-10004 Fixed
2015-11-24 12:17:51 +03:00
Valentin Kipyatkov
36ea9cfbfc
J2K: fixed conversion of Throwable.getMessage(), Throwable.getCause(), Map.Entry.getKey() and Map.Entry.getValue()
2015-10-21 13:46:57 +03:00
Valentin Kipyatkov
dc909ac166
J2K: coversion of specially mapped built-in methods + replacing "get" with "[]" where possible
2015-10-19 09:43:11 +03:00
Valentin Kipyatkov
320102bbdb
J2K: get/set-methods converted to properties (but lot of TODOs left)
2015-09-25 13:02:45 +03:00
Valentin Kipyatkov
0cc2158ec1
J2K: do not produce redundant "internal" words for members in an internal class
2015-09-18 15:44:19 +03:00
Valentin Kipyatkov
7caccd7578
J2K: all annotations should be with "@"
2015-09-18 15:44:18 +03:00
Valentin Kipyatkov
cc4aa6ed21
J2K: preserving of visibility modifier for override members when access level was higher
2015-09-18 15:44:18 +03:00
Valentin Kipyatkov
6f12db9cde
J2K: no explicit type required for public declarations
2015-09-18 15:44:18 +03:00
Valentin Kipyatkov
c3ddd5d32b
J2K: adapted for default visibility modifier 'public'
2015-09-18 15:44:18 +03:00
Valentin Kipyatkov
97cf562dea
Made convert to string template inspection less eager
2015-09-07 19:48:05 +03:00
Denis Zharkov
952d45dc8b
Deprecate JVM platform annotations in favor of capitilized themselves
2015-09-04 18:19:31 +03:00
Mikhail Glukhikh
285d5d06c7
More precise value reassignment analysis. #KT-7418 Fixed. #KT-6902 Fixed.
...
Variable can now be "exactly initialized", "may be initialized" and "not initialized".
A set of relevant tests. Some fixed tests.
2015-09-02 12:07:18 +03:00
Stanislav Erokhin
5ded315cbb
Improved error reporting for candidates with wrong parameter count
2015-09-01 23:37:42 +03:00
Dmitry Jemerov
341f09afd3
rename platformStatic to jvmStatic
2015-08-21 16:59:05 +02:00