Dmitriy Novozhilov
a79030aa0f
[IDE-NI-MIGRATE] [BAD] Migrate testdata of MultiModuleSafeDelete tests
...
Bad tests in `MultiModuleSafeDeleteTestGenerated`:
- testByActualClassSecondaryConstructorParameterLiftingToExpect_ExpectsAndActualsByActualClassSecondaryConstructorParameter
- testByExpectClassSecondaryConstructorParameter_ExpectsAndActualsByExpectClassSecondaryConstructorParameter
- testByActualClassPrimaryConstructorPropertyLiftingToExpect_ExpectsAndActualsByActualClassPrimaryConstructorProperty
- testByActualClassPrimaryConstructorParameterLiftingToExpect_ExpectsAndActualsByActualClassPrimaryConstructorParameter
- testByExpectClassPrimaryConstructorParameter_ExpectsAndActualsByExpectClassPrimaryConstructorParameter
2019-05-06 11:36:30 +03:00
Mikhail Glukhikh
ddd3a0a46e
Implement liftToExpected correctly for primary constructor properties
...
Before this commit, we always tried to find expect property in this case.
However, there is at least one case when we should find parameter of
expect primary constructor instead (safe delete).
So #KT-25321 Fixed
2018-07-26 18:01:42 +03:00
Mikhail Glukhikh
48017a81ee
Move isEquivalentTo() from KtClass to KtClassOrObject
...
This makes objects and companions with the same qualified name
compatible from find usages point of view
So #KT-25326 Fixed
So #KT-25438 Fixed
2018-07-26 18:00:26 +03:00
Mikhail Glukhikh
46cc773953
Test refactoring: header/impl -> expect/actual in safe delete tests
2018-07-26 18:00:21 +03:00
Mikhail Glukhikh
aac71bf904
Safe delete: when invoking on actual, delete expect & actual neighbors
...
So #KT-15666 Fixed
2018-06-29 10:54:24 +03:00
Mikhail Glukhikh
50e70e4638
Safe delete: when invoking on expect, delete also relevant actual
...
Partial fix of KT-15666
2018-06-29 10:53:43 +03:00
Mikhail Glukhikh
465d5c077e
Safe delete: search for actual declarations more accurately
2018-06-29 10:53:42 +03:00
Mikhail Glukhikh
e885e54233
Implement search from expect element in KotlinReferenceSearcher
...
So mostly #KT-17512 Fixed
2018-06-26 15:36:06 +03:00
Alexey Sedunov
930e51e30e
Misc: Update test data due to changes in 'actual' constructor checking
...
Now actual class constructor is considered an implementation
only if it has 'actual' modifier itself
2018-02-07 14:13:16 +03:00
Alexey Sedunov
67798d73a1
Minor: Fix multi-module test data
...
This is required since "implements" dependency is now specified
explicitly in the Kotlin facet configuration
2017-10-02 18:14:04 +03:00
Mikhail Glukhikh
19b8ecab61
Migration to expect/actual: KotlinSafeDeleteProcessor
2017-09-15 18:29:13 +03:00
Mikhail Glukhikh
6e41bbc2a7
Migration: header->expect & impl->actual in IDEA test data
2017-09-15 18:29:06 +03:00
Alexey Sedunov
787bbe9a4c
Safe Delete: Support header/impl declarations
...
#KT-18433 Fixed
2017-08-15 19:08:29 +03:00