You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.
We rely on strconv.ParseFloat from the Go stdlib, and it allows underscores in number literals "for readability". I remember when I wrote this feeling like it would probably come back to bite me 🤷♂️🐊.
There is probably a better function somewhere that interprets float literals more strictly.
The text was updated successfully, but these errors were encountered:
From aboodman/replicant#85
It's because of the argument handling in
rep
:https://github.com/aboodman/replicant/blob/master/cmd/rep/main.go#L122
We rely on
strconv.ParseFloat
from the Go stdlib, and it allows underscores in number literals "for readability". I remember when I wrote this feeling like it would probably come back to bite me 🤷♂️🐊.There is probably a better function somewhere that interprets float literals more strictly.
The text was updated successfully, but these errors were encountered: