class Rubydex::Rules::InvalidConstantVisibility

Constant visibility operations that depend on dynamic values cannot be reasoned about statically because they depend on runtime values. The program may still be valid, but the quality of the analysis degrades.

“‘ruby var.private_constant :Foo ^^^ Invalid constant visibility. This might be correct, but it cannot be understood by the analysis.

private_constant(var)

^^^ Invalid constant visibility.

“‘