Commit Graph

5479 Commits

Author SHA1 Message Date
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 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 7805ee01eb Fix moving of value parameters and arguments 2013-06-05 15:51:27 +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 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
Evgeny Gerashchenko c51a70b3b8 Optimized obtaining super methods. 2013-06-03 18:20:36 +04:00
Evgeny Gerashchenko 6d0b8f953d Typo. 2013-06-03 17:40:57 +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
Natalia.Ukhorskaya aa1998fa20 Check not null annotations for parameters in IdeaJdkAnnotationsReflectedTest 2013-05-30 13:02:45 +04:00
Evgeny Gerashchenko b08751f501 Fixed starting in profiler. 2013-05-30 12:53:53 +04:00
Andrey Breslav 7ff1885e8e The error message now tells the user about jps.kotlin.home
For TeamCity users
2013-05-29 21:39:36 +04:00
Sergey Rostov bcc2c46e99 KDoc wiki links pair matcher and @tags highlighter 2013-05-28 13:05:29 +04:00
Sergey Rostov 12e20378a2 KDoc lexer refactored (got rid of hacks and separate tokens for words). Fixed bug with isInComment(element) detection. 2013-05-28 13:05:28 +04:00
Sergey Rostov 365f097904 Update KetTokens.Comments TokenSet 2013-05-28 13:05:28 +04:00
Sergey Rostov 5ff1f746d4 KT-1545, KT-3161 KDoc lexer & parser 2013-05-28 13:05:28 +04:00
Michał Sapalski cacb4b26e4 Support for generic classes in quickfix for NOTHING_TO_OVERRIDE 2013-05-28 12:02:55 +04:00
Mikhael Bogdanov e96cf045dd KT-3652: Char is converted to Int when used inside string interpolation
#KT-3652 Fixed
2013-05-27 19:33:49 +04:00
Andrey Breslav 1a5c943057 Support jps.kotlin.home 2013-05-27 13:55:33 +04:00
Andrey Breslav 3299957c0c Support jps.kotlin.home 2013-05-27 13:55:33 +04:00
Evgeny Gerashchenko 43b9a9d434 Renamed Name.getName() and FqName.getFqName() to asString() 2013-05-21 17:56:05 +04:00
Evgeny Gerashchenko de6d5a4a96 Fixed loading SAM interfaces when they inherit abstract methods. 2013-05-21 17:52:15 +04:00
Evgeny Gerashchenko fb416418f0 Minor. Fixed assertion message. 2013-05-21 17:52:15 +04:00
Evgeny Gerashchenko 12485c0ef5 Test for KT-3331 RuntimeException in frontend-java at TypeVariableResolverFromTypeDescriptors.getTypeVariable()
#KT-3331 obsolete
2013-05-21 17:52:14 +04:00
Evgeny Gerashchenko 5fc7c885bb KT-3577 Stack overflow when resolving SAM adapter (from completion, show parameters, etc)
#KT-3577
2013-05-21 17:52:14 +04:00
Evgeny Gerashchenko 6f7d42185f Added dependency class resolver -> function resolver. 2013-05-21 17:52:14 +04:00
Evgeny Gerashchenko 86d60aea9f Minor. Replaced for with for each. 2013-05-21 17:52:14 +04:00
Natalia.Ukhorskaya 4c9174d49b Don't create stubs for properties in delegate expression 2013-05-21 14:38:52 +04:00
Andrey Breslav a2b82095da Using the version of ASM that has debug information in it
No more need for extra ASM jars (analysis and util)
2013-05-21 13:56:34 +04:00
Natalia.Ukhorskaya a5f1a8b3f8 TypeCastException when casting null to T with nullable upper-bound
#KT-3637 Fixed
2013-05-21 13:21:52 +04:00
chocolateboy 1bf06f7c02 make the preloader's required profiler argument (time|notime) an optional switch: -pp
fixes for broken Windows batch files
2013-05-21 12:22:06 +04:00
Nikolay Krasko 5ca4df3d1d KT-3618 Missing space in error message "inconstructor"
#KT-3618 Fixed
2013-05-20 17:56:26 +04:00