Skip to content

Commit

Permalink
Update customrules.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Sep 6, 2024
1 parent 58359be commit 6649ad9
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 @@ -800,7 +800,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 6649ad9

Please sign in to comment.