toml-lang / toml-test

A language agnostic test suite for TOML parsers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Array of mixed types

bobfang1992 opened this issue · comments

Reading the TOML spec, I can see:

Arrays are square brackets with values inside. Whitespace is ignored. Elements are separated by commas. Arrays can contain values of the same data types as allowed in key/value pairs. Values of different types may be mixed.

However, the first test in the invalid folder is testing if mixed types is allowed. I am just wondering why that's the case?

Because the spec changed... toml-lang/toml@bcd7af2