You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add logic to look for overload groups when emitting warnings (#885)
* Add logic to look for overload groups when emitting warnings and
suggestions about ambiguous symbols. If exactly one of the ambiguous
symbols is an overload group, then suggest the author simply remove
the incorrect disambiguation.
* Refactor logic for ambiguous symbol warnings to first emit a message
about selecting the preferred symbol without any disambiguation hash,
followed by a list of all the remaining symbols to select from with
their hashes.
* PR Feedback:
- PathHierarchy.makePartialResultError checks for a preferred symbol,
normally an overload group, when throwing processing unknownDisambiguation
errors.
- Simplify makeTopicReferenceResolutionErrorInfo and limit it to formatting the
warning message.
* PR Feedback: Simplify PathHierarchy+Error.swift and
PathHierarchy.makePartialResultError further.
* PR Feedback:
- Further simplify logic for displaying unknown disambiguation warnings
0 commit comments