I was going to suggest that we close #18 in light of #184, but it turns out that PR is only a partial solution.
It catches cases like this:
mod a {
use super::b;
}
mod b {
use super::a;
}
But it doesn't catch cases like this:
mod a {
use super::b;
struct T;
}
mod b {
use super::a::T;
}
because an edge b --> a::T is not the same as an edge b --> a.
I think the easiest solution would be to add something like --use-parents, which adds an edge b --> a whenever an edge b --> a::T is seen.
@regexident I realize this is "option creep" for a tool not originally intended for this purpose, but would you be open to adding such an option?
I was going to suggest that we close #18 in light of #184, but it turns out that PR is only a partial solution.
It catches cases like this:
But it doesn't catch cases like this:
because an edge
b --> a::Tis not the same as an edgeb --> a.I think the easiest solution would be to add something like
--use-parents, which adds an edgeb --> awhenever an edgeb --> a::Tis seen.@regexident I realize this is "option creep" for a tool not originally intended for this purpose, but would you be open to adding such an option?