Commit Graph

12 Commits

Author SHA1 Message Date
Alexey Sedunov cd44bc3fb0 Introduce Variable: Do not compare explicit receivers using ReceiverValue
#KT-5319 Fixed
2014-06-25 19:08:04 +04:00
Alexey Sedunov 31a1ec0f05 Improve JetNameValidatorImpl performance 2014-05-12 13:03:03 +04:00
Alexey Sedunov e052a64767 Introduce Variable: Compare receivers (both implicit and explicit) when looking for expression occurrences
#KT-4819 Fixed
2014-04-22 18:45:54 +04:00
Alexey Sedunov 4dec0508a6 ExtractionTest: Change test data layout 2014-04-17 19:01:17 +04:00
Natalia.Ukhorskaya 6bea9999d5 Introduce variable does something really strange for expression in square brackets
#KT-2490 Fixed
2013-03-07 15:34:39 +04:00
Nikolay Krasko e7287ba8f4 KT-2242 formatting problems: function literal passed outside the parentheses - fix test data in affected tests
#KT-2242 Fixed
2012-08-21 16:16:22 +04:00
Alexander.Podkhalyuzin 48533ca8d2 Fixed KT-2072: do not suggest to use type inference in Introduce Variable in case if expression type depends on expected type. 2012-05-23 18:58:39 +04:00
Alexander.Podkhalyuzin b9267dc7cf Fixed KT-2071: Cannot Introduce Variable from function literal. 2012-05-23 15:58:55 +04:00
Alefas c643b1cf45 Fixed KT-1295, first part of removing 'println'. Undo part is still not working. 2012-02-15 19:38:42 +04:00
Alefas 6fe52d15b4 Few fixes to Introduce Variable (no new features added)
Added few tests to Introduce Variable
More strict requirements for expressions to introduce it.
2012-02-08 17:07:38 +04:00
Alefas 1d88960a19 Name suggester + tests.
Fixed commented introduce variable tests.
2012-02-07 18:22:38 +04:00
Alefas c8b4e5ec74 Introduce Variable feature (in pre-alpha quality).
Problems:
1. Still problems with containers, due to new for me JetContainerNode.
2. Needs name suggester
3. Needs name validator
4. Needs type annotation adding
5. Needs changing to var and checking write access of usages
6. Needs final modifier adding
7. Some problems on class and file level. Should be fixed. Problems with inplace rename on this positions. Additionally possibly should be added proper work with expressions on class body level and namespace/file level. It parsed as error now.
8. Needs much more tests than just 6.
2012-02-01 19:42:06 +04:00