Skip to content

Fix accessibility description for derived interfaces - #1

Merged
iceland3 merged 1 commit into
mainfrom
iceland3-patch-1
Aug 18, 2026
Merged

Fix accessibility description for derived interfaces#1
iceland3 merged 1 commit into
mainfrom
iceland3-patch-1

Conversation

@iceland3

Copy link
Copy Markdown
Owner

Corrected the explanation regarding interface accessibility in derived interfaces.

Summary

The original text says "cannot be narrowed," but the correct rule is "cannot be widened," as demonstrated by the code example. This change aligns the description with the actual compiler behavior.

Corrected the explanation regarding interface accessibility in derived interfaces.
@iceland3
iceland3 merged commit 83c4194 into main Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant