Closed illwieckz closed 4 years ago
Sorry to keep you waiting. This was an error in exception propagation; code is fixed and yields the proper error description now:
Error: unhandled exception: While constructing NodeObj: Unknown field: "game" [YamlConstructionError]
Well, I don't know how to name this issue, I'm probably feeding bad code to
nim
, but instead of getting an error about what I wrote I got an unexpected exception inserialization.nim
and I was asked to report this as a NimYAML bug.This is my nim code in
gm.nim
file and I expect this file to have mistakes: this is the very first nim code I attempted to write after an hello world and I was expecting to experiment a bit by trial and error but unfortunately I did not got any review on my code but got review on NimYAML code instead.This the YAML data in
file.yaml
(notice the list of list):This is what I get when I run my code with this file:
The YAML code seems legit, PyYAML loads it properly: