Commit Graph

20726 Commits

Author SHA1 Message Date
Alexey Tsvetkov b280e891e9 JS: read compiled js modules 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov bfd82e2dd2 JS: save function descriptor for inline calls 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 083b506fe1 JS: test metadata generation 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov ded46843c2 JS: generate metadata for public inline functions 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 4efadb33fa JS: switched ClosureCompiler to whitespace level 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 25f6a4aa0a JS: added spread operator inline test case 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov ea0253770b JS: use generation for some tests 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 7a96ca1dfb JS: LibraryUtils refactoring 2015-03-06 21:36:18 +03:00
Michael Nedzelsky 6e3d751ee9 fix StaticContext: use module name from module descriptor 2015-03-06 21:36:18 +03:00
Nikolay Krasko 10e51db55b Merge pull request #592 from JetBrains/rr/yole/j2k-fix-join
J2K: fix incorrect join() in doc comment converter
2015-03-06 21:04:17 +03:00
Dmitry Jemerov 4caf77f571 J2K: fix incorrect join() in doc comment converter 2015-03-06 18:27:57 +01:00
Dmitry Jemerov 4181006e87 temporarily mute test to avoid bootstrapping issues (to be reenabled after a successful build in master) 2015-03-06 18:02:14 +01:00
Dmitry Jemerov 46dbf005df update testdata for the newly appeared Double.mod(Char) method 2015-03-06 18:02:13 +01:00
Dmitry Jemerov 1c426fada2 generate the code of Numbers.kt 2015-03-06 18:02:06 +01:00
Pavel V. Talanov 5540f09751 Report default object specific diagnostics on 'default' modifier 2015-03-06 19:37:02 +03:00
Pavel V. Talanov 012d25dbca Add test for soon to be deprecated 'class object' syntax 2015-03-06 19:37:00 +03:00
Pavel V. Talanov b51368a5e5 Fix cls builder for new decompiler 2015-03-06 19:36:58 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Dmitry Jemerov 28ed30bcb3 change KDoc parsing so that space after parameter/section name is not included in tag content; support @property tag in KDocFinder 2015-03-06 16:13:11 +01:00
Nikolay Krasko 69744c0550 Allow to install to idea 142 branch 2015-03-06 15:21:50 +03:00
Evgeny Gerashchenko e267f0d4ef Safer check for optimized for loops. 2015-03-06 15:09:28 +03:00
Alexey Sedunov 5517c6c539 Extraction Engine: Report invisible types in the generated declaration header
#KT-6734 Fixed
2015-03-06 14:37:25 +03:00
Alexey Sedunov 5c871c92af Change Signature: Do not look for Java usages for declarations in JavaScript modules
#EA-65319 Fixed
2015-03-06 14:37:23 +03:00
Alexey Sedunov 2684ce20d4 Parser: Do not produce qualified expressions without receiver in package directives. Add assertion on JetQualifiedExpression
#KT-6907 Fixed
2015-03-06 14:37:22 +03:00
Alexey Sedunov cab301e8e2 Introduce Property: Add tests for default values 2015-03-06 14:37:21 +03:00
Alexey Sedunov 1202e624ce Extraction Engine: Assume internal visibility for trait members 2015-03-06 14:37:20 +03:00
Alexey Sedunov 652253b485 Introduce Property: Forbid lazy properties/properties with initializers in traits 2015-03-06 14:37:18 +03:00
Alexey Sedunov 79b64c6f9f Introduce Property: Add test for name clash in the presence of anonymous initializer (was failing before ElementResolver fix) 2015-03-06 14:37:17 +03:00
Alexey Sedunov a2a47d56fb Analyzer: Do no try to resolve anonymous initializer as declaration descriptor 2015-03-06 14:37:16 +03:00
Alexey Sedunov 4aac24956c Extraction Engine: Skip named argument references while analyzing extractable code
#KT-6896 Fixed
2015-03-06 14:37:16 +03:00
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