Commit Graph

12919 Commits

Author SHA1 Message Date
Andrey Breslav 9e446373e3 Old JDR and test data fixed 2013-11-21 13:07:35 +04:00
Andrey Breslav 80c281bcd3 Unnecessary downcast removed 2013-11-21 13:07:35 +04:00
Andrey Breslav 11c8d0785b Extra information in assertion message 2013-11-21 13:07:35 +04:00
Andrey Breslav 814311075d Assertion message 2013-11-21 13:07:35 +04:00
Andrey Breslav ba8bcb2e9a Better diagnostics + basic recursion detection in memoized functions 2013-11-21 13:07:34 +04:00
Andrey Breslav 4aadf6e802 Storage manager framework uses Kotlin iterfaces 2013-11-21 13:07:34 +04:00
Andrey Breslav 0c2e1fb806 @NotNull annotations on descriptor classes 2013-11-21 13:07:34 +04:00
Andrey Breslav 6dde064791 Collections in interfaces marked @ReadOnly 2013-11-21 13:07:34 +04:00
Andrey Breslav e5c67e7935 Classes @Nullable and @NotNull are added to runtime
This is needed because Kotlin now annotates all emitted byte code with @Nullable and @NotNull, and a verifier like proguard would reject the code unless the classes are on the class path
2013-11-21 13:07:33 +04:00
Andrey Breslav a7b50d7d06 Remove rependency on annotations-ext.jar 2013-11-21 13:07:33 +04:00
Andrey Breslav 70ae245181 Annotation classes @ReadOnly and @Mutable added to runtime (to get into the standard library) 2013-11-21 13:06:45 +04:00
Andrey Breslav bfbb200ba8 Only render exact function types in special syntax 2013-11-21 13:05:39 +04:00
Alexey Sedunov 9f5ee13c20 Implement "Merge when" intention 2013-11-20 20:55:58 +04:00
Evgeny Gerashchenko d9b1c88bf4 Minor. Fixed misused class. 2013-11-20 19:33:27 +04:00
Evgeny Gerashchenko 32a2f98c74 Minor. Reused util method. 2013-11-20 19:33:27 +04:00
Mikhael Bogdanov 1e4397a83d Added isExactFunctionOrExtensionFunctionType method 2013-11-20 16:32:08 +04:00
Mikhael Bogdanov 3caa410e06 OverloadResolutionResultsImpl param substituted with ResolvedCall in callResolverExtension 2013-11-20 16:32:08 +04:00
Mikhael Bogdanov afa09caa0f Added AnnotationContext flag 2013-11-20 16:32:07 +04:00
Nikolay Krasko c09ba00c8d Add task for generating repository xml 2013-11-20 15:43:45 +04:00
Nikolay Krasko 01d5b6a222 Remove verifying kannotator from publishing kotlin plugin 2013-11-20 15:43:44 +04:00
Alexey Sedunov 9839c2b0b6 Stdlib: Add iteration over unary function, implement iterator zip and skip 2013-11-20 01:44:13 +04:00
Nikolay Krasko 3fadff21cb KT-4211 Can't see kotlin annotation icon for Java-declaration with source
#KT-4211 Fixed
2013-11-19 21:56:50 +04:00
Nikolay Krasko 2b37214efa Don't auto insert '}' after '{' in unfinished control statements 2013-11-19 18:37:00 +04:00
Nikolay Krasko f6af946215 Refactoring: extract common method 2013-11-19 18:36:59 +04:00
Nikolay Krasko 9ed900e2be Fix auto-indent for { 2013-11-19 18:36:58 +04:00
Nikolay Krasko 99ddfe8c83 Refactoring type handler 2013-11-19 18:36:58 +04:00
Evgeny Gerashchenko 9ba3e39cf0 Removed useless method. 2013-11-19 18:05:29 +04:00
Evgeny Gerashchenko 6e19b98997 Unified resolve and multiResolve for references. 2013-11-19 18:05:29 +04:00
Alexey Sedunov f36743e8b8 Recover suppress annotation 2013-11-19 13:09:48 +04:00
Alexey Sedunov 75edea0dd3 Fix location of "Remove parentheses" intention 2013-11-19 13:09:40 +04:00
Natalia Ukhorskaya 0302c591f2 Fix android tests: classObjectToString test should be excluded 2013-11-19 12:05:27 +04:00
Natalia Ukhorskaya d241bfc138 KT-3517 Can't call .equals() on a boolean
#KT-3517 Fixed
2013-11-19 12:05:26 +04:00
Alexey Sedunov 8dfe771f8e Fix intention property key 2013-11-18 21:22:25 +04:00
Alexey Sedunov 0908b9146c Add suppress annotation to runtime 2013-11-18 20:45:29 +04:00
Alexey Sedunov 8792ea8b1b Remove "suppress" from top level to fix build error 2013-11-18 20:31:12 +04:00
Alexander Udalov 6f31692996 Import nested classes both from classes and their class objects
It seems that this incorrect behaviour was introduced in 726bcb5
2013-11-18 19:51:29 +04:00
Alexander Udalov e2622b5dbb Resolve extension calls on class objects
#KT-3470 Fixed
2013-11-18 19:51:29 +04:00
Alexander Udalov 838c408e68 LHS of qualified expressions are determined manually
ExpressionPosition is useless now and will be dropped

 #KT-3866 Fixed
2013-11-18 19:51:28 +04:00
Alexander Udalov e8089cc461 Synthetic class object of enum should always be public
#KT-2834 Fixed
2013-11-18 19:46:01 +04:00
Alexey Sedunov c63265bd69 Translate RemoveUnnecessaryParenthesesIntention and apply refactoring 2013-11-18 18:53:37 +04:00
Alexey Sedunov a24ee8745c Merge WhenUtils with IfWhenUtils 2013-11-18 18:49:46 +04:00
Alexey Sedunov 167ec19e35 Translate IfWhenUtils to Kotlin 2013-11-18 18:49:38 +04:00
Alexey Sedunov 523e44f00d Annotate JetVisitorVoid and its inheritors 2013-11-18 18:49:30 +04:00
Alexey Sedunov 05d9cbd67d Translate WhenUtils to Kotlin 2013-11-18 18:49:22 +04:00
Alexey Sedunov 72f4ae3a13 Translate intention classes to Kotlin and apply refactoring 2013-11-18 18:33:34 +04:00
Alexey Sedunov 6b971fa50c Implement custom TargetElementEvaluator KT-4190 #Fixed 2013-11-18 18:33:33 +04:00
Andrey Breslav 38b38e7b6d KT-4198 On covariant projection, do not throw whole var's away
#KT-4198 Fixed
2013-11-18 18:30:41 +04:00
Valentin Kipyatkov 3fe55c997f Smart completion: changed test data to use Any instead of Object 2013-11-18 17:54:09 +04:00
Valentin Kipyatkov acb5bb2b07 Smart completion: auto-casted types supported 2013-11-18 17:54:09 +04:00
Andrey Breslav 7bc8f9f5ff Test data fixed 2013-11-18 16:38:45 +04:00