Commit Graph

10726 Commits

Author SHA1 Message Date
Alexey Sedunov 3f2ff3eb24 Add code transformations for if/when in local property initializers 2013-06-07 17:05:05 +04:00
Alexey Sedunov 70b4fb48bc Add file parameter to Transformer 2013-06-07 17:04:19 +04:00
Alexey Sedunov 857ba92996 Remove unjustified annotations 2013-06-07 13:10:08 +04:00
Natalia.Ukhorskaya d9860876f5 Remove redundant clearDir in build.xml 2013-06-07 11:06:01 +04:00
Natalia.Ukhorskaya afa3ead160 Add kotlin annotations for android SDK 2013-06-07 11:05:57 +04:00
Evgeny Gerashchenko 5965904c0f Fixed filename case. 2013-06-06 21:59:37 +04:00
Evgeny Gerashchenko 203dd93a7a Not loading SAM adapters from compiled Kotlin classes. 2013-06-06 21:35:02 +04:00
Evgeny Gerashchenko 9601762b2c Subclassed from PsiClassHolderFileStub. 2013-06-06 21:35:02 +04:00
Svetlana Isakova 66dc6a975d better message if a resolve test fails 2013-06-06 18:23:11 +04:00
Svetlana Isakova 9731ff499e added generator for resolve tests 2013-06-06 18:23:11 +04:00
Svetlana Isakova 92424edb29 refactoring
extracted variables
added method 'replaceCall' to ResolutionTask
removed unused parameter
2013-06-06 17:20:11 +04:00
Svetlana Isakova fc0077cf9b removed explicit type arguments
from delegation tests where possible
2013-06-06 17:20:11 +04:00
Svetlana Isakova ca88a01e1d no 'dangling function literal' check for nested calls 2013-06-06 17:20:10 +04:00
Svetlana Isakova 4e6ec64d9a changed resolution candidates order
for foo()
first try 'this.foo()', then 'foo()'
2013-06-06 17:20:10 +04:00
Svetlana Isakova 12ef42b6ae small refactoring 2013-06-06 16:31:13 +04:00
Svetlana Isakova f41584c7ab tests added
for inference for delegated properties
2013-06-06 16:31:06 +04:00
Alexey Sedunov ef2af3a4e8 Fix brace node extraction from class initializer 2013-06-05 16:03:51 +04:00
Alexey Sedunov 62bdb37014 Do not move closing brace in function-like elements 2013-06-05 15:51:32 +04:00
Alexey Sedunov 7805ee01eb Fix moving of value parameters and arguments 2013-06-05 15:51:27 +04:00
Alexey Sedunov a78822ddba Unify getSourceRange() for declaration and expression movers 2013-06-05 15:51:21 +04:00
Alexey Sedunov cda940f415 Add support of "braceless" blocks 2013-06-05 15:51:15 +04:00
Alexey Sedunov 30e333c670 Allow to move "when entry" at closing brace 2013-06-05 15:51:10 +04:00
Alexey Sedunov 2cc163cd90 Replace triple booleans with enums 2013-06-05 15:51:04 +04:00
Alexey Sedunov 5345d0a0d5 Fix moving of value/type parameters 2013-06-05 15:50:59 +04:00
Alexey Sedunov 57edbdfbc4 Allow moving out to arbitrary blocks and moving any declaration into class body 2013-06-05 15:50:53 +04:00
Alexey Sedunov b00ec82884 Implement "move expression up/down" action handler 2013-06-05 15:50:47 +04:00
Alexey Sedunov fe8891299b Implement "move class-level declaration up/down" action handler 2013-06-05 15:50:41 +04:00
Alexey Sedunov 3a2e30152a Improve parser recovery for list of value parameters/arguments 2013-06-05 15:49:33 +04:00
Alexey Sedunov a2ee65e64c Add type tests for JetPsiMatcher 2013-06-05 15:03:19 +04:00
Alexey Sedunov 3a2be3be01 Fix functional type matching 2013-06-05 15:03:18 +04:00
Alexey Sedunov 3a635c537e Move JetPsiMatcher with tests to plugin module 2013-06-05 15:03:17 +04:00
Svetlana Isakova 7e564de71a added constraint for package level delegated property 2013-06-04 22:11:43 +04:00
Svetlana Isakova 2b0616b1c4 rename
ERROR_IDENTIFIER_INFO -> NO_IDENTIFIER_INFO
2013-06-04 22:11:43 +04:00
Svetlana Isakova 2337f4b948 bug fix
do not combine receiverInfo with error selectorInfo
2013-06-04 22:11:43 +04:00
Svetlana Isakova ecec6acde8 use explicit type of delegated property as expected
while resolving constraint system for delegated expression
2013-06-04 22:11:43 +04:00
Natalia.Ukhorskaya acbccb9411 Get asm from fixed idea build (jar with debug info and patched for java 8) 2013-06-04 11:11:48 +04:00
Andrey Breslav ce402068c9 Using a property for IDEA zip name
(cherry picked from commit 42683dc)
2013-06-04 11:11:47 +04:00
Andrey Breslav 9270eec30f Using properties for dependency build id's
(cherry picked from commit 68b0aa0)
2013-06-04 11:11:46 +04:00
Evgeny Gerashchenko c51a70b3b8 Optimized obtaining super methods. 2013-06-03 18:20:36 +04:00
Evgeny Gerashchenko 343a28ac2d Ignored local Gradle repository. 2013-06-03 17:47:36 +04:00
Evgeny Gerashchenko 3e5feeb436 Minor. Added comments. 2013-06-03 17:40:58 +04:00
Evgeny Gerashchenko 89b3f953d1 Fixed broken reference to jar. 2013-06-03 17:40:57 +04:00
Evgeny Gerashchenko 6d0b8f953d Typo. 2013-06-03 17:40:57 +04:00
Nikolay Krasko 555e182d6d Fix returned indices from TextBlockTransferableData
Thanks to Alexander (https://github.com/Alefas) for idea

 #KT-3662 Fixed
2013-05-31 20:55:35 +04:00
Andrey Breslav 6d6e627641 Support custom JDK annotations path for TeamCity 2013-05-31 20:35:32 +04:00
Svetlana Isakova 61f50fc832 removed 'allowNamespaces' flag
from creating IdentifierInfo
2013-05-31 16:29:07 +04:00
Svetlana Isakova 42b34586bd made ReceiverValueVisitor an interface 2013-05-31 16:29:07 +04:00
Svetlana Isakova f05f616230 KT-2422 Invalid warning "Condition is always true"
#KT-2422 fixed
2013-05-31 16:29:07 +04:00
Leonid Shalupov 213e8c11c9 Merge pull request #283 from nskvortsov/master
Isolated classloading for kotlin gradle plugin
2013-05-31 05:18:16 -07:00
Natalia Ukhorskaya 3b72b2be0c Merge pull request #282 from lopekpl/type_mismatch_in_literals3
QuickFixes for TYPE_MISMATCH
2013-05-31 01:29:32 -07:00