Commit 2edc61f
Return a type mismatch error instead of panicking when datetime values
(DateTime, LocalDate, LocalTime, LocalDateTime) are unmarshaled into
incompatible Go types. This makes the decoder safer for processing
untrusted TOML input.
https://claude.ai/code/session_011jwvtDS5M2KncLrqJpgMr5
Co-authored-by: Claude <[email protected]>
1 parent 4a1b05c commit 2edc61f
2 files changed
Lines changed: 55 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
855 | 858 | | |
856 | 859 | | |
857 | 860 | | |
| |||
862 | 865 | | |
863 | 866 | | |
864 | 867 | | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
865 | 871 | | |
866 | | - | |
867 | | - | |
| 872 | + | |
868 | 873 | | |
869 | 874 | | |
870 | | - | |
871 | 875 | | |
872 | | - | |
873 | 876 | | |
874 | 877 | | |
875 | 878 | | |
| |||
883 | 886 | | |
884 | 887 | | |
885 | 888 | | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
886 | 892 | | |
887 | 893 | | |
888 | 894 | | |
| |||
897 | 903 | | |
898 | 904 | | |
899 | 905 | | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
900 | 909 | | |
901 | | - | |
902 | | - | |
903 | | - | |
| 910 | + | |
904 | 911 | | |
905 | 912 | | |
906 | | - | |
907 | 913 | | |
908 | | - | |
909 | 914 | | |
910 | 915 | | |
911 | 916 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4344 | 4344 | | |
4345 | 4345 | | |
4346 | 4346 | | |
| 4347 | + | |
| 4348 | + | |
| 4349 | + | |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
| 4354 | + | |
| 4355 | + | |
| 4356 | + | |
| 4357 | + | |
| 4358 | + | |
| 4359 | + | |
| 4360 | + | |
| 4361 | + | |
| 4362 | + | |
| 4363 | + | |
| 4364 | + | |
| 4365 | + | |
| 4366 | + | |
| 4367 | + | |
| 4368 | + | |
| 4369 | + | |
| 4370 | + | |
| 4371 | + | |
| 4372 | + | |
| 4373 | + | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
| 4381 | + | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
0 commit comments