Felix Krause

Results 56 comments of Felix Krause

The warning lied to us. We are now in the Nim 2.0.0 future and instead of becoming a compile time error, the warning is gone :) Closing the issue.

Thanks @theAkito, your comment on the Nim issue made me realize this can be fixed in NimYAML. The type alias problem was simply a symptom of the real problem, which...

Has been fixed in Nim compiler.

Compile time loading now works well enough. The linked Nim issue should be re-evaluated as I don't see the problem occurring with NimYAML anymore. Dumping doesn't work but I think...

With Nim 2.0.0 and current devel, RT and CT both work for the snippet I posted above. That leaves the ref-to-ptr-cast error the only known remaining issue for CT.

This happens also with current NimYAML 2.0.0: ```nim import yaml, yaml/dom type YItem = object items {.defaultVal: @[].}: seq[YItem] entry: YEntry yaml {.transient.}: YamlNode YEntryKind = enum tkBasic YEntry =...