Skip to content

Commit

Permalink
Update customrules.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Sep 12, 2024
1 parent 5ed0ef2 commit 0aa1b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/customrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ end
end

if !forward
funcTy = rev_TT.parameters[isKWCall ? 5 : 2 + (!applicablefn)]
funcTy = rev_TT.parameters[(isKWCall ? 5 : 2) + (!applicablefn)]
if needsTape
@assert tape != C_NULL
tape_idx = 1+(kwtup!==nothing && !isghostty(kwtup)) + !isghostty(funcTy) + (!applicablefn)
Expand Down

0 comments on commit 0aa1b72

Please sign in to comment.