Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hesining committed Sep 8, 2023
1 parent 72a2ac4 commit af8bcff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checker/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ func (v *checker) checkArguments(name string, fn reflect.Type, method bool, argu
in = fn.In(i + fnInOffset)
}

if isFloat(in) && isNumber(t) && kind(t) != kind(in) {
if isFloat(in) && isNumber(t) && kind(t) != kind(in) {
traverseAndReplaceIntegerNodesWithFloatNodes(&arguments[i], in)
continue
}
Expand Down

0 comments on commit af8bcff

Please sign in to comment.