Commit Graph

27058 Commits

Author SHA1 Message Date
Valentin Kipyatkov 4e73fe0f39 Renamed test data folder 2015-10-19 09:43:11 +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 50f559a1c8 ReplaceGetIntention should not be available for non-operator functions 2015-10-19 09:43:11 +03:00
Valentin Kipyatkov 45389c61b4 Made AddFunctionToSupertypeFix low priority 2015-10-19 09:43:11 +03:00
Valentin Kipyatkov 5e7fd78028 Don't cause tests to hang because of UnsupportedAbiVersion notification 2015-10-19 09:43:10 +03:00
Valentin Kipyatkov e42bb1698d MoveAssignmentToInitializerIntention to select property type when it can be removed 2015-10-19 09:43:10 +03:00
Valentin Kipyatkov fc89b1e766 ShortenReferences to use partial body resolve 2015-10-19 09:43:10 +03:00
Yan Zhulanow 3a89c2194a Fix Java 8 tests (annotation methods are not loaded as functions anymore) 2015-10-19 03:56:15 +03:00
Yan Zhulanow e14c9645dc Error on 'if' without an 'else' branch when used as an expression 2015-10-19 03:56:15 +03:00
Zalim Bashorov de5dc61820 Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error 2015-10-18 22:49:08 +03:00
Michael Bogdanov a16658a9e9 Temporary workaround for convention method invocation 2015-10-18 17:53:29 +03:00
Michael Bogdanov 01864801f3 Stable accessors names 2015-10-18 17:53:29 +03:00
Michael Bogdanov 7851abd535 Generate access to private members through synthetic accessors in inline functions 2015-10-18 17:53:28 +03:00
Michael Bogdanov 3b02498ca8 Tests for private members and accessors for them 2015-10-18 17:53:28 +03:00
Michael Bogdanov 8641dbf42a Fix couldUseDirectAccessToProperty for private top-level properties 2015-10-18 17:53:27 +03:00
Michael Bogdanov e2eddac27d Workaround for KT-9603 2015-10-18 17:53:27 +03:00
Michael Bogdanov 7022d84ec1 Use package part context for class generation 2015-10-18 17:53:27 +03:00
Michael Bogdanov 3e64baad78 Support multifile facades in isCallInsideSameClassAsDeclared 2015-10-18 17:53:26 +03:00
Michael Bogdanov c63d221da3 Skip private members in facades 2015-10-18 17:53:26 +03:00
Michael Bogdanov 5b3a7a473e Private visibility for top-level private members 2015-10-18 15:53:48 +03:00
Ilya Gorbunov 10784644a5 Throwable stackTrace property instead of getStackTrace() function. 2015-10-17 23:43:20 +03:00
Svetlana Isakova 7208efc784 Fix tests with type annotations 2015-10-17 19:07:25 +03:00
Denis Zharkov fafca76ac5 Generate common bridges for final builtin declaration
#KT-9596 Fixed
2015-10-17 17:46:17 +03:00
Denis Zharkov cc94acdabc Do not load common for special properties from Java
I.e. do not treat getName in Java enum as override of Enum.name
2015-10-17 17:46:17 +03:00
Denis Zharkov 28c46b73f1 Rename some of builtin parameters 2015-10-17 17:46:16 +03:00
Denis Zharkov 1c02231cda Regenerate rendered descriptors after transforming Enum.values to property 2015-10-17 17:46:16 +03:00
Denis Zharkov d8ede6d03e Transform Enum.values to property 2015-10-17 17:46:16 +03:00
Mikhael Bogdanov d985f56b8d Fix local variable shift for inline functions 2015-10-17 17:02:56 +03:00
Natalia Ukhorskaya 9168572b8c Write local variable for inline function and inline argument 2015-10-17 17:02:55 +03:00
Michael Bogdanov 3452fc8d02 Don't initialize const properties in constructor
#KT-9532 Fixed
2015-10-17 15:31:57 +03:00
Stanislav Erokhin 7d7d37719b Forbidden old invokeExtension convention. 2015-10-17 14:45:53 +03:00
Alexey Sedunov fc4b0a8121 Minor: Rename test class 2015-10-17 00:24:40 +03:00
Alexey Sedunov 6f5d977728 Inspections: Add inspection on equals()/hashCode() 2015-10-17 00:24:39 +03:00
Alexey Sedunov 127cb36602 Minor: Allow running member generation actions without editor 2015-10-17 00:24:38 +03:00
Alexey Sedunov 915236a6ba Code Insight: "Generate equals/hashCode" action 2015-10-17 00:24:37 +03:00
Ilya Gorbunov d1d0807229 Add a note about *Raw functions behavior. 2015-10-16 23:55:37 +03:00
Ilya Gorbunov 8fd5677fe0 Move map-related *Raw methods to Maps.kt and do some cleanup there.
Correct deprecation messages and replacements.
2015-10-16 23:38:40 +03:00
Ilya Gorbunov e2cf8a919c Fix contains usages in stdlib tests 2015-10-16 23:38:30 +03:00
Ilya Gorbunov 683bc4bd01 Generate *Raw methods. 2015-10-16 23:38:29 +03:00
Ilya Gorbunov 8aed39d9bb Provide *Raw methods as a replacement. 2015-10-16 23:38:27 +03:00
Ilya Gorbunov d1a007e902 Do not generate deprecated contains for ranges. 2015-10-16 23:38:25 +03:00
Ilya Gorbunov c5cd599e30 Delegate indexOf and lastIndexOf to List if the Iterable is List. 2015-10-16 23:38:23 +03:00
Ilya Gorbunov 45d13fafc8 StdLib generator: Allow receiver star-projections to be specified per-family. 2015-10-16 23:38:22 +03:00
Ilya Gorbunov efa285bc30 ExpressionDecomposer: non-nullable upper bound of R, since supertype expects R to be non-null. 2015-10-16 23:38:20 +03:00
Ilya Gorbunov 654a85368d Allow to evaluate FamilyProperty based on family value specified. 2015-10-16 23:38:18 +03:00
Yan Zhulanow 3bb1b1adfd Put property delegates -related warnings on 'by' 2015-10-16 22:20:06 +03:00
Yan Zhulanow b42d913bd7 Unify 'lateinit' diagnostics 2015-10-16 22:19:33 +03:00
Yan Zhulanow 9699708fb8 Do not put inapplicable annotations on getter 2015-10-16 22:19:33 +03:00
Yan Zhulanow 9ae3b0fa9c Drop loading Java annotation methods as functions 2015-10-16 22:13:34 +03:00
Svetlana Isakova 25b40455ad Serialize/deserialize annotations on type parameters 2015-10-16 21:58:47 +03:00