Commit Graph

20696 Commits

Author SHA1 Message Date
Evgeny Gerashchenko c6352ec699 KT-6920 Reference this marked as deprecated if extension function is deprecated
#KT-6920 fixed
2015-03-06 13:43:03 +03:00
Evgeny Gerashchenko 06e3b5937f Fixed compilation. 2015-03-06 13:43:02 +03:00
Evgeny Gerashchenko 14b16ff87c KT-6916 Slow bytecode for downTo iteration like for (i in max downTo min)
#KT-6916 fixed
2015-03-06 13:43:02 +03:00
Nikolay Krasko 4d1c2ab0e3 Suppress action generally because of updated constant in action 2015-03-06 12:56:42 +03:00
Nikolay Krasko e70098a2d4 Temporary copy beans with reflection while there's no library method in TeamCity JPS 2015-03-06 12:56:41 +03:00
Nikolay Krasko 7de794d381 Update to Idea 141.2.2 2015-03-06 12:56:40 +03:00
Nikolay Krasko 493911145e Gradle classes were moved 2015-03-06 12:56:39 +03:00
Pavel V. Talanov 97989d174e Update keyword completion test data
after introducing 'default' soft keyword
2015-03-06 12:43:29 +03:00
Pavel V. Talanov 84560ec550 Escape 'default' in enum entry names
Would not parse when default is a keyword
2015-03-06 12:41:56 +03:00
Pavel V. Talanov 913724f0e9 Allow default object to be denoted with 'default' modifier
Report 'default' modifier in illegal positions
2015-03-06 12:41:50 +03:00
Pavel V. Talanov b73d7e19b7 Remove various getDefaultObject() methods 2015-03-06 12:41:46 +03:00
Pavel V. Talanov 101cc9c9ea Minor: rename ModifiersChecker#checkIllegalModifiers -> reportIllegalModifiers 2015-03-06 12:41:42 +03:00
Pavel V. Talanov 2b51e4f2d4 Add 'default' keyword
Parser: allow objects that are marked as default to have no name
2015-03-06 12:41:38 +03:00
Pavel V. Talanov 0ca2f3f336 Minor: prevent rare case when soft keyword was parsed as enum entry 2015-03-06 12:41:34 +03:00
Dmitry Jemerov c029fa2ed0 add test for generating annotations on the setter of a delegated property; (KT-4169); properly generate backing field for delegated property with a setter 2015-03-05 19:04:18 +03:00
Dmitry Jemerov b4eb3e0f43 add test for visibility of setter for delegated property (KT-5957) 2015-03-05 19:04:18 +03:00
Dmitry Jemerov e9266481c5 allow delegated properties to have getters and setters without bodies 2015-03-05 19:04:17 +03:00
Evgeny Gerashchenko 8ba15937f9 KT-6820 Find usages doesn't find delegated properties when searching get/set/propertyDelegated functions
#KT-6820 fixed
2015-03-05 18:42:18 +03:00
Evgeny Gerashchenko 0a824edace KT-6821 Go to reference on "by" keyword in delegated property doesn't navigate to propertyDelegated
#KT-6821 fixed
2015-03-05 18:42:18 +03:00
Evgeny Gerashchenko 9a17bce179 Removed redundant getOriginal() 2015-03-05 18:42:17 +03:00
Evgeny Gerashchenko af7eba64f7 Disallow PropertyMetadataImpl in conventions for delegated properties 2015-03-05 18:42:17 +03:00
Evgeny Gerashchenko 056daeaadb Don't mark parameters of get/set/propertyDelegated functions as unused.
#KT-5974 fixed
2015-03-05 18:42:16 +03:00
Dmitry Jemerov dbe9a70fbd standard library deprecations, now with proper messages 2015-03-05 16:32:22 +01:00
Nikolay Krasko d230cfc192 Update state for idea branches 2015-03-05 17:21:11 +03:00
Evgeny Gerashchenko 0bc8efa20d Reverted old behaviour of DescriptorToSourceUtils.descriptorToDeclaration() 2015-03-05 15:19:35 +03:00
Evgeny Gerashchenko e7796fbb58 Not trying to find declaration in both builtins and decompiled code (as it worked before). 2015-03-05 15:19:34 +03:00
Evgeny Gerashchenko 2b522f2d5e Added comments. 2015-03-05 15:19:34 +03:00
Evgeny Gerashchenko 6ee4d92f36 Renamed object and its methods. 2015-03-05 15:19:33 +03:00
Evgeny Gerashchenko 6982757700 Optimized method. Moved logic about package view to JetReference. 2015-03-05 15:19:33 +03:00
Evgeny Gerashchenko 46940d272e Convert DescriptorToSourceUtils to Kotlin. Code cleanup. 2015-03-05 15:19:32 +03:00
Evgeny Gerashchenko 44d86da1cd Convert DescriptorToSourceUtils to Kotlin. Auto-convert. 2015-03-05 15:19:32 +03:00
Evgeny Gerashchenko 648336e759 Convert DescriptorToSourceUtils to Kotlin. Rename. 2015-03-05 15:19:31 +03:00
Evgeny Gerashchenko 9a9b2a8540 Not finding classes for package view. It is not relevant anymore: we see Java classes as classes, not packages. 2015-03-05 15:19:30 +03:00
Evgeny Gerashchenko 8ab94a18ae Inlined trivial method classDescriptorToDeclaration 2015-03-05 15:19:30 +03:00
Evgeny Gerashchenko 7b6f83815c Unified obtaining psi element for descriptor. Now code for finding effective descriptors of fake override and finding source element for original declarations are separated. Old method DescriptorToSourceUtils.descriptorToDeclaration is still there, because it has ~90 usages. 2015-03-05 15:19:29 +03:00
Evgeny Gerashchenko a56b1da11f Minor. Removed unused function. 2015-03-05 15:19:29 +03:00
Dmitry Jemerov 48b0afd84d correctly generate safe casts from Unit type
#KT-4494 fixed
2015-03-05 11:59:23 +01:00
Dmitry Jemerov 2835459920 correctly generate 'in' expressions with IntRange on RHS and a type other than Int on LHS 2015-03-05 11:33:24 +01:00
Dmitry Jemerov 1188be9070 generate correct bytecode for constructors using infix call syntax
#KT-4589 Fixed
2015-03-05 11:26:27 +01:00
Pavel V. Talanov ed4c265564 Drop ClassKind.CLASS_OBJECT
Default and non-default objects now have ClassKind.OBJECT
2015-03-05 13:06:33 +03:00
Pavel V. Talanov f72f548a93 Add ClassDescriptor#isDefaultObject()
with dummy implementations for now
2015-03-05 13:06:12 +03:00
Pavel V. Talanov 63acb19413 Minor: treat default objects as ordinary objects in ExtractionData.inferParametersInfo() 2015-03-05 13:06:08 +03:00
Pavel V. Talanov 5e249e71f6 Do not exclude default object names when rendering descriptors in short names mode 2015-03-05 13:06:04 +03:00
Pavel V. Talanov afe8773e41 Minor: rename OVERRIDE_CANNOT_BE_STATIC and improve message 2015-03-05 13:06:00 +03:00
Pavel V. Talanov 350864b22f Drop some of explicit ClassKind.CLASS_OBJECT and OBJECT usages 2015-03-05 13:05:56 +03:00
Pavel V. Talanov fa590a5b83 Refactor: Extract isObject with a new semantic 2015-03-05 13:05:48 +03:00
Pavel V. Talanov fc6f4208ec Rename: isObject -> isNonDefaultObject 2015-03-05 13:05:45 +03:00
Nikolay Krasko d827038f7c Fix test 2015-03-05 12:01:42 +03:00
Nikolay Krasko 08502cd510 Refactoring: inline methods and hide intermediate class 2015-03-05 01:30:39 +03:00
Nikolay Krasko 518c35fae1 Intrinsic default objects implementation: old test data modification 2015-03-05 01:30:39 +03:00