Safe delete: search for actual declarations more accurately

This commit is contained in:
Mikhail Glukhikh
2018-06-26 13:37:19 +03:00
parent 5bdaef4983
commit 465d5c077e
9 changed files with 45 additions and 27 deletions
@@ -1 +1 @@
class test.Foo has 1 usage that is not safe to delete.
class test.Foo has 3 usages that are not safe to delete.
@@ -1 +1 @@
function Foo.foo(Int) has 2 usages that are not safe to delete.
function Foo.foo(Int) has 3 usages that are not safe to delete.
@@ -1 +1 @@
property Foo.foo has 2 usages that are not safe to delete.
property Foo.foo has 3 usages that are not safe to delete.
@@ -1 +1 @@
constructor Foo(Int) has 2 usages that are not safe to delete.
constructor Foo(Int) has 3 usages that are not safe to delete.
@@ -1 +1 @@
function test.foo(Int) has 2 usages that are not safe to delete.
function test.foo(Int) has 3 usages that are not safe to delete.
@@ -1 +1 @@
property test.foo has 2 usages that are not safe to delete.
property test.foo has 3 usages that are not safe to delete.