Commit Graph

5451 Commits

Author SHA1 Message Date
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
Nikolay Krasko ddb7b54eee KT-3620 Don't auto-import js.* and remove in optimize imports
KT-3620 Fixed
2013-05-20 17:56:24 +04:00
Nikolay Krasko f33792a567 Configure project descriptor with directives
Implement optimize import test with redesigned class
2013-05-20 17:56:23 +04:00
Nikolay Krasko 3b35810c9a Using JetClsMethod interface to recognize method compiled from kotlin 2013-05-20 15:52:53 +04:00
Nikolay Krasko 3a2a932e2f Add utility method for getting class from constructor parameter 2013-05-20 15:52:52 +04:00
Nikolay Krasko 11a1067380 Workaround assert when java function overrides kotlin property accessor
#KT-3621 Open
2013-05-20 14:17:46 +04:00
Nikolay Krasko 3c087965f1 Add presentation renderer for field declared in constructor 2013-05-20 14:17:44 +04:00
Nikolay Krasko 0a2ca39f88 Search implementations for properties from constructor parameters 2013-05-20 14:17:43 +04:00
Nikolay Krasko 312bd6f828 Get PsiMethod wrappers for properties and property accessors 2013-05-20 14:17:24 +04:00
Michał Sapalski b2bb581127 Quickfix for MIXING_NAMED_AND_POSITIONED_ARGUMENTS. 2013-05-17 13:01:29 +04:00
Alexey Sedunov 9442f96b87 Extract getText() method 2013-05-15 19:01:42 +04:00
Alexey Sedunov b2b7bce99a Relax transformation assertions 2013-05-15 18:51:14 +04:00
Alexey Sedunov 4ab816a888 Add nullability annotations 2013-05-15 18:29:41 +04:00
Alexey Sedunov d2f3dd1629 JetPsiMatcher: reimplement using visitor, add structural type matching 2013-05-15 18:29:14 +04:00
Alexey Sedunov 4ee59e351b Move "else" extractor to JetWhenExpression 2013-05-15 12:58:01 +04:00
Alexey Sedunov d30e8d88fb Get rid of excessive replaces 2013-05-15 12:57:59 +04:00
Alexey Sedunov a1613d8b81 Implement 'when' transformations (flatten, introduce subject, eliminate subject) 2013-05-15 12:57:54 +04:00
Alexey Sedunov c054c0cdbe Add factory methods for parenthesized expressions 2013-05-15 12:57:52 +04:00
Alexey Sedunov 36b68786b0 Add new-line flags to 'if' factory method 2013-05-15 12:57:51 +04:00
Alexey Sedunov 057528eb39 Add 'when' builder and creation of 'is' expressions 2013-05-15 12:57:50 +04:00
Alexey Sedunov b7bc251311 Add extraction of 'else' branch of 'when' expression 2013-05-15 12:57:49 +04:00
Alexey Sedunov d5e78c3bd5 Add support of comments in asymmetric returns 2013-05-15 12:57:38 +04:00
Alexey Sedunov 97b53000ab Add @NotNull annotation to factory methods 2013-05-15 12:57:36 +04:00
Alexey Sedunov 89030d1ced Make predicate non-nullable 2013-05-15 12:57:35 +04:00
Alexey Sedunov 216f865658 Move assertion out of if statement 2013-05-15 12:57:34 +04:00
Alexey Sedunov 033e82666d Extract method for else branch check in when expression 2013-05-15 12:57:32 +04:00
Alexey Sedunov 51658c65de Add folding/unfolding operations for branched control structures 2013-05-15 12:57:28 +04:00
Alexey Sedunov e4de51468f Add construction of "return" and "if" expressions to JetPsiFactory 2013-05-15 12:57:27 +04:00
Alexey Sedunov ed0bd5a908 Simplify "is assignment" check and move it to JetPsiUtil 2013-05-15 12:57:26 +04:00