Hacker News new | past | comments | ask | show | jobs | submit login

> “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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: