This check reports an error if a referenced constant or enum value
cannot be found in the current, or any included, file.
To support this, I've generalized Resolve() to handle any named
reference and introduced a ResolveConstant() function to resolve
ast.ConstantReference values.
This check reports an error if a referenced constant or enum value cannot be found in the current, or any included, file.
To support this, I've generalized Resolve() to handle any named reference and introduced a ResolveConstant() function to resolve ast.ConstantReference values.