Open hallyhaa opened 4 years ago
By calling root() you get the types mixed up; you’re creating a map that’s a json-like tree data structure with syntaxless string keys, and passing it to parseMap which expects a 1-level flat data structure with paths as keys.
You mean by calling unwrapped()
? It does indeed not crash when I drop the call to unwrapped()
. Thanks.
In the following code, I never reach the final line:
The
parseMap
method throws aConfigException$BadPath
. Is this really meant to be so?