We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6a49d commit 89c5b39Copy full SHA for 89c5b39
source/configy/read.d
@@ -721,8 +721,7 @@ package FR.Type parseField (alias FR)
721
{
722
if (node.nodeID == NodeID.mapping)
723
return node.parseMapping!(FR)(path, defaultValue, ctx, null);
724
- else
725
- if (node.nodeID == NodeID.scalar)
+ else if (node.nodeID == NodeID.scalar)
726
return wrapConstruct(FR.Type.fromString(node.as!string), path, Location.get(node));
727
else
728
throw new TypeConfigException(node, "a mapping (object) or a scalar", path);
0 commit comments