mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Use it to provide an idealized API for the VarDecl case in validateDecl. In reality, a lot of work is needed to rationalize the dependency structure of this request. To start, the callers of typeCheckPatternBinding must be eliminated piecemeal. Once that is done, the AST should introduce pattern binding decls along all the places where getParentStmt() used to apply.
1.4 KiB
1.4 KiB