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 75d60b3 commit 782a5b4Copy full SHA for 782a5b4
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