Move: Filter out usages with visibility error before refactoring

If declaration is already invisible before move,
no visibility conflict should be reported

 #KT-17571 Fixed
This commit is contained in:
Alexey Sedunov
2017-04-24 18:24:07 +03:00
parent 0a5f9d8181
commit 8bbf8e185a
46 changed files with 32 additions and 44 deletions
@@ -1,4 +0,0 @@
Class Test uses class Foo which will be inaccessible after move
Class Test uses function foo(Foo) which will be inaccessible after move
Method bar() uses class Test which will be inaccessible after move
Variable t uses class Test which will be inaccessible after move
@@ -1,4 +0,0 @@
Function bar() uses function test() which will be inaccessible after move
Function test() uses class Foo which will be inaccessible after move
Function test() uses function foo(Foo) which will be inaccessible after move
Method bar() uses function test() which will be inaccessible after move
@@ -1,4 +0,0 @@
Method bar() uses object Test which will be inaccessible after move
Object Test uses class Foo which will be inaccessible after move
Object Test uses function foo(Foo) which will be inaccessible after move
Variable t uses object Test which will be inaccessible after move
@@ -1,4 +0,0 @@
Function bar() uses property test which will be inaccessible after move
Method bar() uses property test which will be inaccessible after move
Property test uses class Foo which will be inaccessible after move
Property test uses function foo(Foo) which will be inaccessible after move