Commit Graph

11915 Commits

Author SHA1 Message Date
Sergey Rostov ba142652c4 KT-3575, KT-2297 Inserting pair for "${": reverting to use KotlinTypeHandler
(with disabling JetPairMatcher for this case)
2013-05-30 13:07:21 +04:00
Natalia.Ukhorskaya e05a9efeab Don't create stubs for properties in delegate expression 2013-05-30 13:07:20 +04:00
Andrey Breslav fad29b8ad1 Using the version of ASM that has debug information in it
No more need for extra ASM jars (analysis and util)
2013-05-30 13:07:19 +04:00
Natalia.Ukhorskaya 485923b197 Add library classes for delegated properties 2013-05-30 13:07:18 +04:00
Natalia.Ukhorskaya 0ab434ac2d TypeCastException when casting null to T with nullable upper-bound
#KT-3637 Fixed
2013-05-30 13:07:17 +04:00
chocolateboy 0bfa5cd954 make the preloader's required profiler argument (time|notime) an optional switch: -pp
fixes for broken Windows batch files
2013-05-30 13:07:16 +04:00
Nikolay Krasko ef819cce5a KT-3618 Missing space in error message "inconstructor"
#KT-3618 Fixed
2013-05-30 13:07:15 +04:00
Nikolay Krasko dc3d395214 KT-3620 Don't auto-import js.* and remove in optimize imports
KT-3620 Fixed
2013-05-30 13:07:14 +04:00
Nikolay Krasko bbc49ca9fc Configure project descriptor with directives
Implement optimize import test with redesigned class
2013-05-30 13:07:13 +04:00
Nikolay Krasko e0d1190d5e Base class for jet light fixture to execute runPostStartupActivities() in more fixture tests 2013-05-30 13:07:11 +04:00
Sergey Rostov 91d5fedcad KT-3575, KT-2297 Inserting pair for "${": use JetPairMatcher instead of KotlinTypeHandler
#KT-3575 fixed
2013-05-30 13:07:10 +04:00
Nikolay Krasko 7e9ced290d Using JetClsMethod interface to recognize method compiled from kotlin 2013-05-30 13:07:09 +04:00
Nikolay Krasko 461e83a5d1 Add utility method for getting class from constructor parameter 2013-05-30 13:07:08 +04:00
Nikolay Krasko bed43db274 Workaround assert when java function overrides kotlin property accessor
#KT-3621 Open
2013-05-30 13:07:06 +04:00
Nikolay Krasko fbe3af3fdf Go to implementation line markers for properties 2013-05-30 13:07:05 +04:00
Nikolay Krasko 1f8fad9ec0 Add presentation renderer for field declared in constructor 2013-05-30 13:07:04 +04:00
Nikolay Krasko 85e5ce8111 Search implementations for properties from constructor parameters 2013-05-30 13:07:03 +04:00
Nikolay Krasko b4cfe605ec KT-3542 Can't navigate to property implementation
#KT-3542 Fixed
2013-05-30 13:07:02 +04:00
Nikolay Krasko bdb7e5b945 Get PsiMethod wrappers for properties and property accessors 2013-05-30 13:07:01 +04:00
Nikolay Krasko 7b8f0779ad Add test for wrapping function with default parameters 2013-05-30 13:07:00 +04:00
Nikolay Krasko 0779f1bbde Add test for wrapping function without body 2013-05-30 13:06:59 +04:00
Nikolay Krasko f454a40eac Refactoring: extract methods 2013-05-30 13:06:58 +04:00
Nikolay Krasko 7243ef4627 Fix absence of implemented/overridden markers on overridden functions 2013-05-30 13:06:57 +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
Natalia.Ukhorskaya cc96f397eb Update idea versions in plugin.xml 2013-05-30 12:12:57 +04:00
Natalia.Ukhorskaya c37a3713d3 Fix tests for j2converter 2013-05-30 12:12:52 +04:00
Natalia.Ukhorskaya 386a881a71 Add new annotations 2013-05-30 12:12:48 +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
Andrey Breslav 6465abe7eb Do not fail on circular dependencies + better message 2013-05-29 21:39:36 +04:00
Wojciech Lopata 4bf7151e47 Make "type mismatch" quickfixes not available in case of error types 2013-05-29 14:58:34 +02:00
Wojciech Lopata 2a97617880 QuickFix: change type of constructor parameter to match value argument in invocation 2013-05-29 13:53:07 +02:00
Wojciech Lopata c6a378f4fb Rename directory with tests 2013-05-29 13:53:06 +02:00
Wojciech Lopata 0a541373a5 QuickFix: change property type to match expression returned by getter 2013-05-29 13:53:06 +02:00
Wojciech Lopata 16d9abf546 QuickFix: change type of overridden function to type of overridding function 2013-05-29 13:53:05 +02:00
Wojciech Lopata e08d9ee8da Fix quickFix for PROPERTY_TYPE_MISMATCH_ON_OVERRIDE 2013-05-29 13:53:04 +02:00
Wojciech Lopata 9fdbd01660 QuickFix: change type of overridden property to type of overridding property 2013-05-29 13:53:03 +02:00
Wojciech Lopata 0d65a1b789 Better text for ChangeVariableTypeFix 2013-05-29 13:53:02 +02:00
Wojciech Lopata 1a5d515972 QuickFix: change function return type to match expexted type of call 2013-05-29 13:53:01 +02:00
Wojciech Lopata 76e648ded3 QuickFix: change overloaded operator parameter type or return type 2013-05-29 13:53:00 +02:00
Wojciech Lopata d3492d8e6f QuickFix: change property type to match it's initializer type 2013-05-29 13:53:00 +02:00
Wojciech Lopata ed6e734c14 Single factory for TYPE_MISMATCH error 2013-05-29 13:52:59 +02:00
Wojciech Lopata 6c8096138a Make ChangeFunctionReturnTypeFix handle function literals 2013-05-29 13:52:59 +02:00
Wojciech Lopata 0144ad0670 Enable intention actions factories to return multiple quickfixes 2013-05-29 13:52:58 +02:00
Wojciech Lopata 9b90ee2e80 ChangeFunctionLiteralReturnTypeFix for EXPECTED/ASSIGNMENT_TYPE_MISMATCH errors 2013-05-29 13:52:52 +02:00
Wojciech Lopata 44fa32c617 ChangeFunctionParameterTypeFix for TYPE_MISMATCH error 2013-05-29 12:22:41 +02:00
Wojciech Lopata b99e46b6f9 Cleanup in "type mismatch" tests 2013-05-29 12:22:40 +02:00
Wojciech Lopata 07ea318361 Get rid of warnings in "Change Type" quickfixes 2013-05-29 12:22:34 +02:00
Wojciech Lopata 35fa071e1b Better behaviour of "Change Type" quickfixes in case of function types 2013-05-29 12:05:18 +02:00
Jack Zhou 5d786f93f9 Create from usage: Changed comment in createCreateComponentFunctionFromUsageFactory to assertion. 2013-05-28 17:23:43 -07:00