bungcip / better-toml

toml extension for vs code editor
75 stars 13 forks source link

Attempting to append to a statically defined array, even if that array is empty or of compatible type, must produce an error at parse time. #23

Open TyPR124 opened 4 years ago

TyPR124 commented 4 years ago

Title is directly taken from https://github.com/toml-lang/toml#user-content-array-of-tables

As is this:

# INVALID TOML DOC
fruit = []

[[fruit]] # Not allowed

However this appears to parse as valid TOML.