Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[dotnet] Fix a silly thinko - we want the capture passed to the proto…
…, always.
  • Loading branch information
jnthn committed Oct 30, 2010
1 parent aa95937 commit df06e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dotnet/runtime/Runtime/Ops.cs
Expand Up @@ -549,8 +549,8 @@ public static RakudoObject multi_dispatch_over_lexical_candidates(ThreadContext
if (CodeObj.Dispatchees != null)
{
var Candidate = MultiDispatch.MultiDispatcher.FindBestCandidate(
CodeObj, TC.CurrentContext.Capture);
return Candidate.STable.Invoke(TC, Candidate, TC.CurrentContext.Capture);
CodeObj, CurOuter.Capture);
return Candidate.STable.Invoke(TC, Candidate, CurOuter.Capture);
}
CurOuter = CurOuter.Outer;
}
Expand Down

0 comments on commit df06e98

Please sign in to comment.