-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A symbol is missing in inherited dependencies #69
Comments
Hello,
The reason dependencies from surrounding These two ways of defining two symbols With
With
In both cases, To get transitive references, you'll have to calculate the transitive closure (I think that's the term...), recursively expanding the If you're only interested in the direct dependencies of a symbol (its |
Ah, OK, I see. Maybe it makes sense to mention this in the documentation? The word |
- Point out why dependencies from surrounding if's and menus are included - Clarify that .referenced isn't transitive. Only "direct" references are included. - Give a hint about direct dependencies and expr_items() Prompted by #69.
Clarified the docstring and added some more details in 814e2de. Does it look okay? |
Looks good, thanks you! |
Hi,
The documentation for the
referenced
field of theSymbol
class says that itincludes dependencies inherited from surrounding menus and if's.
. However when I look at the value of thereferenced
field forCOMEDI_NI_USB6501
(source), I don't see theUSB
symbol there:COMEDI_NI_USB6501
depends onCOMEDI_USB_DRIVERS
through anif
, andCOMEDI_USB_DRIVERS
in turns depends onUSB
through adepends on
. So AFAIUUSB
should be inreferenced
.Is this a bug or there's something I misunderstand?
Thanks!
The text was updated successfully, but these errors were encountered: