We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b02e458 + 825e467 commit fab3e3fCopy full SHA for fab3e3f
include/swift/Parse/PatternBindingState.h
@@ -120,7 +120,7 @@ struct PatternBindingState {
120
121
PatternBindingState
122
getPatternBindingStateForIntroducer(VarDecl::Introducer defaultValue) {
123
- return PatternBindingState(getIntroducer().getValueOr(defaultValue));
+ return PatternBindingState(getIntroducer().value_or(defaultValue));
124
}
125
126
Optional<unsigned> getSelectIndexForIntroducer() const {
0 commit comments