[SR-4294] Warn about overly-nested generic type specifiers #46877
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
Additional Detail from JIRA
md5: c1aab4167ab2d03975e533b9a662698f
Issue Description:
https://twitter.com/steipete/status/843896945718546434
The tweet is in C++, but the same problem could affect Swift. A warning about overly-nested generic type specifiers that have enough piled-up closing
>>>>>>
brackets to be mistaken for a conflict marker in version control might be helpful, not only for tooling interaction, but for code cleanliness, since you should probably consider using a type alias at that point.The text was updated successfully, but these errors were encountered: