I'm somewhat on the edge of this one, whether it should be allowed or not. I'd love to hear some input.
Fixes Issue 7236 - Protected class member should be accessible in sub…
…class in another file.
Yes, protected is not related to file. I approve. @WalterBright?
@andralex: The behavior tested in NC1 is precisely a case of protected depending on the file structure.
I'd say fix the original issue, but don't allow external access from the same file as in the NC1 tests. I don't have an overly strong opinion on that, though.
Maybe we should delay fixing any of this until we get that DIP on access protection.
The bug report is invalid, see my comment in it.