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.
getOverloadChoice
1 parent 7fc5023 commit 6fb6bc3Copy full SHA for 6fb6bc3
include/swift/Sema/ConstraintSystem.h
@@ -1764,7 +1764,7 @@ class Solution {
1764
/// Retrieve the overload choice associated with the given
1765
/// locator.
1766
SelectedOverload getOverloadChoice(ConstraintLocator *locator) const {
1767
- return *getOverloadChoiceIfAvailable(locator);
+ return getOverloadChoiceIfAvailable(locator).value();
1768
}
1769
1770
/// Retrieve the overload choice for the callee associated with the given
0 commit comments