Open michael-projectx opened 2 months ago
Reproducible example:
In a.cfg:
struct foo { struct bar { a = ${{ 3 * 7.1 ** 2 }} b = 1.23 } }
In a_override.cfg:
struct foo { struct bar { a [[override]] = ${{ 2 * pi }} } }
If a file includes a.cfg and a_override.cfg, then the parse will fail due to a duplicate key exception
a.cfg
a_override.cfg
If instead the value of a [[override]] in a_override.cfg is a simple number (e.g. 6.28), then the parsing passes as expected.
a [[override]]
Reproducible example:
In a.cfg:
In a_override.cfg:
If a file includes
a.cfg
anda_override.cfg
, then the parse will fail due to a duplicate key exceptionIf instead the value of
a [[override]]
ina_override.cfg
is a simple number (e.g. 6.28), then the parsing passes as expected.