mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Like the previous commit, but with added trickiness because we also serialize the form of the PatternBindingDecl a property came from. Make getPattern handle a failure in the simple case that overrides use, and pass that up to the PatternBindingDecl initialization. (This can result in zero-element PatternBindingDecls, but that's fine.) 'getPattern' is also a change from 'maybeGetPattern', but every caller knows how many patterns it expects, so accomodating the "maybe" case is no longer important.
29 KiB
29 KiB