Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

Dependencies doesn't take into account enum used inside other enum for it's associated value #8

Closed
asos-danieltavares opened this issue Aug 31, 2016 · 1 comment

Comments

@asos-danieltavares
Copy link

asos-danieltavares commented Aug 31, 2016

enum ParentEnum {
    case Info(enumA: EnumA)
}

enum EnumA {
    case A
}

In this case EnumA is showing 0 dependency which is true, but would be nice if we could see if it's been used somewhere (like the case above)

@wojteklu
Copy link
Owner

I created sample project to recreate this issue. Results from running analyze command:

screen shot 2016-08-31 at 20 11 58

If you want to check if enum is used somewhere, run usage command:

screen shot 2016-08-31 at 20 15 39

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants