Why does scientific notation break the range function?

Relevant issue: better error for passing wrong type of keyword argument 路 Issue #29829 路 JuliaLang/julia 路 GitHub
Seems like the function/method name used to be part of the error message, but was changed. According to a comment by Jeff on the linked issue this should be part of the stack trace.
I鈥檓 confused now :sweat_smile:

Edit:
here is how the error message is formed. It has a special case for TypeErrors from keyword arguments. This is a bit weird, but I guess there was a deeper reason for that related to above issue.

3 Likes