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
The old global table name mapping method is an special cases handling.
It is fragile and was broken in cases where inline tables were defined.
Inline tables which have no parents names in their name path escaped their
names to global table name map in old code. Following is a example:
```toml
[[servers]]
listen = { port = 1234 } # "listen" escapes to global table name map
[[servers]]
listen = { port = 2345 } # conflicts with previously escaped name "listen"
```
Fixesnaoina#7.
This does not parse, and it should, according to the spec.
I have also tested this with https://github.com/avakar/pytoml, which can parse this without problems.
I use these structs:
Full example program: http://play.golang.org/p/-qWU5Y0RW-
Gives me this error:
If I replace
map[string]string
with[]string
it does work: http://play.golang.org/p/mtLIcqURv5.The text was updated successfully, but these errors were encountered: