subo
subo copied to clipboard
Directive variable conflicts with imported package name
Here:
- package: https://github.com/suborbital/subo/blob/main/builder/context/buildcontext.go#L11
- variable: https://github.com/suborbital/subo/blob/main/builder/context/buildcontext.go#L72
They shouldn't have the same name. It's down to shadowing rules to figure out what you mean by directive, which can be confusing, and can lead to unexpected bugs.
Hey @javorszky, I would like to know about this issue, now this file is not present?
https://github.com/suborbital/subo/blob/main/project/context.go#L75 that functionality was moved here
That function doesn't exist at the moment, so closing for now. Seems resolved.