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.
1 parent 9406edc commit 73b6427Copy full SHA for 73b6427
lib/Sema/CSSimplify.cpp
@@ -839,8 +839,8 @@ class ArgumentFailureTracker : public MatchCallArgumentListener {
839
unsigned newArgIdx = Arguments.size();
840
auto argLoc =
841
Locator
842
- .withPathElement(
843
- LocatorPathElt::ApplyArgToParam(newArgIdx, paramIdx))
+ .withPathElement(LocatorPathElt::ApplyArgToParam(
+ newArgIdx, paramIdx, param.getParameterFlags()))
844
.withPathElement(LocatorPathElt::SynthesizedArgument(newArgIdx));
845
846
auto *argType = CS.createTypeVariable(
0 commit comments