3 ms·
> “test this against Go 1.20” ... It interprets that as Go 1.2 No... it doesn't... What the heck is this misinformation? num: 1.20 str: "1.20" st
by globular-toast 3y ago
> “test this against Go 1.20” ... It interprets that as Go 1.2
No... it doesn't...
What the heck is this misinformation?
num: 1.20
str: "1.20"
str2: Go 1.20
str3: "Go 1.20"
These all parse as strings except the first one.
TOML also parses the following as number:
num = 1.20