chimpler / pyhocon

HOCON parser for Python
Apache License 2.0
493 stars 117 forks source link

#272: Fixes for dict substitution #292

Closed USSX-Hares closed 1 year ago

USSX-Hares commented 1 year ago

Closes #272

Root Cause

In ConfigTreePatser.postParse(), where the value is put to the resulting dict, the key was not split. Thus, ConfigTree.put() was overwriting any values.

Changes

coveralls commented 1 year ago

Coverage Status

Coverage decreased (-1.7%) to 94.413% when pulling de87e8db9ddcc5a73b12ceef725a8e7391d9039b on USSX-Hares:bug/272-dict-substitution-fix into be660deb6d6a5a175d384792e208fd39986758ea on chimpler:master.

coveralls commented 1 year ago

Coverage Status

Coverage decreased (-1.7%) to 94.413% when pulling de87e8db9ddcc5a73b12ceef725a8e7391d9039b on USSX-Hares:bug/272-dict-substitution-fix into be660deb6d6a5a175d384792e208fd39986758ea on chimpler:master.

darthbear commented 1 year ago

Thank you for your PR @USSX-Hares !