Nicolai C.
05/07/2026, 8:30 PMprotected on the page about visibility modifiers (that are relevant here), is the following:
• protected means that the member has the same visibility as one marked as private, but that it is also visible in subclasses.
This is what leads me to suspect that this may be a compiler bug, but I'd love to know if someone can confirm before filing an issue about it 🙂