mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This simple refactor makes pattern-tuple-element available for re-use in closure expressions. As a drive-by, diagnose non-final ellipses via diagnose() rather than via assert(), the latter being considered rather unfriendly. Also, take pains to restore AST invariants after such an error. Swift SVN r5163
14 KiB
14 KiB