mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
early instead of leaving them to TypeCheckExpr to find in an arbitrary "late" place in type checking. This gives us better (more localized) diagnostics and reduces downstream errors when a pattern is malformed. This is the foundation to produce more specific errors than "invalid pattern" Swift SVN r26802
6.2 KiB
6.2 KiB