swift
f735f97c - [Sema] Fix inappropriate diagnostics of access control for members in private extensions. (#18105)

Commit
7 years ago
[Sema] Fix inappropriate diagnostics of access control for members in private extensions. (#18105) When a `fileprivate` method is declared in a `private` extension, a warning is raised since access level `fileprivate` is literally higher than `private`. This is not appropriate because extensions are top level declarations, for which `private` and `fileprivate` are equivalent. This patch stops such warnings. Resolves: SR-8306.
Author
Committer
Parents
Loading