On Wednesday, 6 April 2016 at 18:18:10 UTC, Jacob Carlborg wrote: > It's all in the same module, I don't see how a protection > attribute can affect anything. Compiler is probably confused by the absence of package to test the package protection against. It probably shouldn't be an error.