fix(parser): reject an array-of-tables header extending a frozen inline table

Assisted-by: GLM 5.3
This commit is contained in:
2026-09-17 23:04:49 +02:00
parent d2fc31d260
commit 696f117c22
3 changed files with 13 additions and 0 deletions
+5
View File
@@ -41,6 +41,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- An array-of-tables header whose path runs through an inline table
(`a = {b = {}}` followed by `[[a.b.c]]`) is rejected. The frozen-inline-table
check covered `[table]` headers and dotted keys but not the intermediate
steps of an array-of-tables header, so such a document silently extended the
inline table.
- A float with an exponent marker but no digits (`1e`, `0.0E`) is rejected;
the exponent requires at least one digit.
- A date-time offset outside 00:00 through 23:59 is rejected; such offsets