4 Commits
Author SHA1 Message Date
aleksandrina-streltsova e80a56e53b [kotlin] K2 Introduce Variable: use psi matcher to enable extraction of multiple occurrences
^KTIJ-27679 Fixed
^KTIJ-27681 Fixed
^KTIJ-27861 Fixed

GitOrigin-RevId: 5a33e3dba0f7f7d94997fdeaf6294db26ec20154
2024-02-18 22:13:56 +00:00
Andrey Cherkasov 596dd07456 [kotlin k2] The "Introduce Variable" refactoring: add tests
^KTIJ-21135
IJ-CR-113137

GitOrigin-RevId: 3cded30614cc24eb1e0cbbe930d6519e923b6b23
2023-10-06 17:49:30 +00:00
Ivan Kylchik 156ff92845 [kotlin:testdata] Replace all occurrences of WITH_RUNTIME with WITH_STDLIB
We are going to deprecate `WITH_RUNTIME` directive in kotlin test
infrastructure. The main reason behind this change is that
`WITH_STDLIB` directive better describes its meaning,
specifically it will add kotlin stdlib to test's classpath.

GitOrigin-RevId: 73a702b404ed63e728ad85fa750d5d87ce5bc7f4
2021-11-19 19:27:17 +00:00
Alexey Sedunov 665904df40 Introduce Variable: Do not replace assignment left-hand sides
#KT-14240 Fixed

GitOrigin-RevId: f2af7166af5662f5b49c7a5418a03afc67812f30
2016-10-13 19:00:58 +03:00