import yaml.serialization, streams, os
type
Value = object
number: int
var raw = newFileStream("a.yaml", fmRead)
var value: Value
load(raw, value)
echo value
If I run this on the yaml, I get the error. If I change number to anything != 0 it seems to work
Is it a known problem and is it easy to fix ? I use nim devel(> 0.18.1)
I have a weird error: I can't seem to load 0
If I run this on the yaml, I get the error. If I change number to anything != 0 it seems to work
Is it a known problem and is it easy to fix ? I use nim devel(> 0.18.1)