Commit Graph

166 Commits

Author SHA1 Message Date
Andrey Breslav 16d656c7af Fixing tests after adding a new intention 2013-08-27 15:58:22 +04:00
Nikolay Krasko 26f14a67ee Fix "Descriptor of property not available in binding context" assert for declarations in bodies 2013-08-16 18:28:05 +04:00
Evgeny Gerashchenko 9b19685ec1 Merge branch master into pr/269 2013-06-10 17:40:37 +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 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 35fa071e1b Better behaviour of "Change Type" quickfixes in case of function types 2013-05-29 12:05:18 +02:00
Michał Sapalski cacb4b26e4 Support for generic classes in quickfix for NOTHING_TO_OVERRIDE 2013-05-28 12:02:55 +04:00
Michał Sapalski d4fc814d76 Quickfix for NOTHING_TO_OVERRIDE: add function to one of supertypes. 2013-05-28 12:02:54 +04:00
Michał Sapalski b2bb581127 Quickfix for MIXING_NAMED_AND_POSITIONED_ARGUMENTS. 2013-05-17 13:01:29 +04:00
Alexey Sedunov d5739bbe7f Fix negative quickfix tests which use when 2013-05-16 16:31:43 +04:00
Michał Sapalski 68cd832831 Search in all superclasses in quickfix for NOTHING_TO_OVERRIDE. 2013-05-15 10:33:19 +04:00
Jack Zhou 5bd144313d Create from usage: Fixed case for multi-declaration in a for-loop. 2013-05-12 23:51:02 -04:00
Jack Zhou ea14607576 Create from usage: Made CreateGetFromUsage7 test clearer. 2013-05-12 23:50:45 -04:00
Jack Zhou ec15d5fee4 Create from usage: Renamed all references of 'method' to 'function'. 2013-05-12 23:50:44 -04:00
Jack Zhou eadb73c9f8 Create from usage: Using UnsupportedOperationException for the file template instead. 2013-05-12 23:50:41 -04:00
Jack Zhou c7c8c096f7 Create from usage: Removed quickfix for NO_CLASS_OBJECT. 2013-05-12 23:50:40 -04:00
Jack Zhou b7fe134b61 Create from usage: Added tests. 2013-05-12 23:50:36 -04:00
Alexander Kirillin 41045d2a1e new quick fixes: add parameter, remove parameter, change function literal signature 2013-05-07 21:15:27 +04:00
Michał Sapalski 7deec28b9c Adjusted tests to the new DescriptorRenderer behaviour 2013-04-29 15:44:07 +04:00
Michał Sapalski 01c4826b06 Quickfix for NOTHING_TO_OVERRIDE 2013-04-29 15:44:06 +04:00
Evgeny Gerashchenko 837ab0ac4f Updated test data since another quick fix is available. 2013-04-26 14:03:06 +04:00
Wojciech Lopata b3a87d943a CastExpressionFix 2013-04-26 13:13:20 +04:00
Wojciech Lopata 9b11db7a74 ChangeFunctionReturnTypeFix for TYPE_MISMATCH error 2013-04-24 14:34:20 +02:00
Wojciech Lopata 893cbd6b48 Quickfix for RETURN_TYPE_MISMATCH and NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY 2013-04-24 12:21:28 +02:00
Nikolay Krasko 37f25f2ee1 KT-2258 Plugin does not suggest to import objects
#KT-2258 Fixed
2013-04-19 01:10:53 +04:00
Nikolay Krasko 2b8cac44bb Test for KT-1322 There's no autoimport suggested for traits
#KT-1322 Fixed
2013-04-19 01:10:52 +04:00
Zalim Bashorov a4c02da10d Merge pull request #244 from lopekpl/type_mismatch3
QuickFix for EXPECTED_PARAMETER/RETURN_TYPE_MISMATCH
2013-04-17 07:35:08 -07:00
Wojciech Lopata d396c08454 QuickFix for EXPECTED_PARAMETER/RETURN_TYPE_MISMATCH (ChangeTypeFix) 2013-04-17 15:28:57 +02:00
Wojciech Lopata 0543b73099 Fix failing assertion in ChangeFunctionTypeFix 2013-04-17 09:22:33 +02:00
Andrey Breslav c422e4194d Reverting pull request 240 2013-04-12 15:25:52 +04:00
Michał Sapalski 97796f9b0f Refactoring: use DescriptionRenderer to generate overriding functions / properties. 2013-04-12 12:49:00 +04:00
Michał Sapalski 5b1f93b42e Quickfix for NOTHING_TO_OVERRIDE 2013-04-12 12:47:21 +04:00
Peter Tseng 1025ab4397 Implement quickfix for MANY_CLASSES_IN_SUPERTYPE_LIST 2013-04-09 20:47:29 +04:00
Wojciech Lopata 9000f6971c ChangeVariableTypeFix 2013-04-09 20:35:18 +04:00
Wojciech Lopata cdd41f0fa1 Map RETURN_TYPE_MISMATCH_ON_OVERRIDE to ChangeFunctionReturnTypeFix 2013-04-09 20:35:18 +04:00
Wojciech Lopata c281796e64 Quickfix for COMPARE_TO_TYPE_MISMATCH 2013-04-09 20:35:18 +04:00
Wojciech Lopata 13022922af ChangeFunctionReturnTypeFix quickfix 2013-04-09 20:35:17 +04:00