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 }}
Repository navigation
Top-level integer decode traps on empty token #326
This no longer reproduces on current main (30d03ac). I reran the exact minimal case:
tryTOMLDecoder().decode(Int.self,from:"-=0\n")
It now throws DecodingError instead of trapping. This was fixed by #331, which rejects top-level single-value decoding when the parsed TOML document is a table.
Activity
dduan commentedon Jul 10, 2026
This no longer reproduces on current
main(30d03ac). I reran the exact minimal case:It now throws
DecodingErrorinstead of trapping. This was fixed by #331, which rejects top-level single-value decoding when the parsed TOML document is a table.