Pavel V. Talanov
caefb2cf50
Adjust test data for converter test
...
Due to type inference change
2015-10-01 17:53:20 +03:00
Valentin Kipyatkov
94d8e3f4b6
"is" getter naming allowed for non-booleans too
2015-09-29 18:32:25 +03:00
Valentin Kipyatkov
20bddce18d
No synthetic property for false get-method like "issue()"
2015-09-29 18:32:25 +03:00
Yan Zhulanow
080dcf882e
Minor: fix broken tests
2015-09-26 03:29:09 +03:00
Valentin Kipyatkov
c8a244cc40
Minor corrections on code review
2015-09-25 13:02:47 +03:00
Valentin Kipyatkov
22797114c7
J2K: correct handling of properties with "is" notation
2015-09-25 13:02:46 +03:00
Valentin Kipyatkov
c8b6db4e57
Renamed test data folder
2015-09-25 13:02:46 +03:00
Valentin Kipyatkov
c05232bbb7
J2K: generate accessor bodies in expression form if possible
2015-09-25 13:02:46 +03:00
Valentin Kipyatkov
ee5a853faa
Generate accessor with delegation to super when it's necessary
2015-09-25 13:02:45 +03:00
Valentin Kipyatkov
b1b5af8e1e
More correct detection of super property
2015-09-25 13:02:45 +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
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02: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
aec661aeff
Fixed assertion in j2k on updating external usages
2015-09-14 17:26:52 +03:00
Nikolay Krasko
ae6731698c
Fix test data - Strictfp is not applicable
2015-09-12 21:12:32 +03:00
Natalia Ukhorskaya
ee860fdde5
J2K: Insert class body for anonymous classes
...
#KT-8952 Fixed
2015-09-11 15:21:39 +03:00
Valentin Kipyatkov
97cf562dea
Made convert to string template inspection less eager
2015-09-07 19:48:05 +03:00
Valentin Kipyatkov
988b42bba8
J2K to not generate obsolete syntax for accessing java class
2015-09-07 17:44:14 +03:00
Mikhail Glukhikh
8f7b29f80a
Annotation rename: target --> @Target
2015-09-07 13:42:26 +03:00
Denis Zharkov
31244edec9
Deprecate deprecated in favor of Deprecated
2015-09-04 18:19:31 +03:00
Denis Zharkov
952d45dc8b
Deprecate JVM platform annotations in favor of capitilized themselves
2015-09-04 18:19:31 +03:00
Denis Zharkov
26f9bd7b63
Deprecate some of JVM flag annotations in favor of capitilized themselves
2015-09-04 18:19:31 +03:00
Denis Zharkov
2b76941733
Deprecate throws annotation in favor of Throws
2015-09-04 17:23:26 +03:00
Valentin Kipyatkov
712df5682c
Fixed test data after stdlib change
2015-09-03 15:56:00 +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
d015f713cb
KT-6244 Overloads with no default parameters should take over ones with defaults
...
#KT-6244 Fixed
2015-09-01 23:37:43 +03:00
Stanislav Erokhin
5ded315cbb
Improved error reporting for candidates with wrong parameter count
2015-09-01 23:37:42 +03:00
Natalia Ukhorskaya
351e1863fc
J2K: Support for method references
...
#KT-8721 Fixed
2015-08-24 12:37:41 +03:00
Dmitry Jemerov
341f09afd3
rename platformStatic to jvmStatic
2015-08-21 16:59:05 +02:00
Valentin Kipyatkov
21639c4785
J2k post-processings based on diagnostics are included into the common scheme
2015-08-13 17:29:01 +03:00
Valentin Kipyatkov
e66d0f71ac
Implemented more general scheme of post-processing with intentions in J2K + added replacement of get/set with property access there
2015-08-13 17:29:00 +03:00
Mikhail Glukhikh
3f14e74b08
Drop old enum syntax. Comma / semicolon are now a syntactic part of enum entry.
...
Comma must present now between enum entries, semicolon between last entry & first member, constructor calls must be without colons / specifiers.
A swarm of tests fixed accordingly.
2015-08-11 10:38:10 +03:00
Mikhail Glukhikh
4bd48c4796
Regular modifier checker implemented (initial version). A set of tests fixed accordingly.
...
Most of modifier diagnostic is expressed by REDUNDANT_MODIFIER, INCOMPATIBLE_MODIFIERS, REPEATED_MODIFIER, WRONG_MODIFIER_TARGET, WRONG_MODIFIER_PARENT.
A set of modifier diagnostics is not in use now (but not deleted yet).
2015-08-03 19:41:50 +03:00
Natalia Ukhorskaya
ad6611b930
J2K: If last expression in Method Call is Lambda add it outside the parenthesis
2015-07-30 10:00:26 +03:00
Natalia Ukhorskaya
28f0866467
J2K: Convert Java8 lambdas properly
...
#KT-7149 Fixed
2015-07-30 10:00:26 +03:00
Natalia Ukhorskaya
22ee063269
Add platformStatic annotation to main method from java
...
#KT-8219 Fixed
2015-07-30 10:00:24 +03:00
Valentin Kipyatkov
9d84e4b60a
Fixed EA-70681
2015-07-28 22:39:32 +03:00
Mikhail Glukhikh
a86857fbb5
Java Deprecated is mapped in accordance with Java Target / Retention, some diagnostic changed
2015-07-28 17:13:37 +03:00
Mikhail Glukhikh
cf26310042
Java to Kotlin annotation target mapping: relevant fix for J2K
2015-07-21 15:20:34 +03:00
Denis Zharkov
97af85da9c
Change default upper bound of Java type parameters to Any!
...
#KT-7672 Fixed
2015-07-21 15:16:05 +03:00
Denis Zharkov
151231ef1a
Adjust testData
...
Standard JDK collections purely implement kotlin.Mutable* with non-platform arguments
2015-07-09 16:36:47 +03:00
Valentin Kipyatkov
c75a18291c
KT-7918 J2K: don't generate jvmOverloads on private declarations
...
#KT-7918 Fixed
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov
4c80db9249
KT-8110 J2K: Don't convert "==" to "===" for enum classes
...
#KT-8110 Fixed
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov
767e21db76
J2K - no '@' required for primary constructor annnotations
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov
40fe680acf
J2K: preserving line breaks between arguments
2015-07-06 16:48:50 +03:00
Valentin Kipyatkov
fefb828fae
J2K: preserving line breaks between parameters
2015-07-06 16:48:50 +03:00