Functions do not recon with config.number
when converting a string into a numeric type
#3206
Labels
config.number
when converting a string into a numeric type
#3206
It's a bit of an edge case, but for example:
The reason is that functions like
add
do not have a signature likeadd(string, string)
. Therefore, automatic conversion kicks in. The automatic conversion finds a conversion fromstring -> number
that fits the bill and uses that, without reconing with the configuredconfig.number
. I'm not sure how a proper solution to fix this would look like, since the type conversions are static 🤔.The text was updated successfully, but these errors were encountered: