Fix overwrites of a key when occurring in the nested section as well#9
Fix overwrites of a key when occurring in the nested section as well#9burner merged 3 commits intoburner:masterfrom
Conversation
9d991ce to
23e2e5d
Compare
Ah - I forgot to add the |
burner
left a comment
There was a problem hiding this comment.
other then the nitpicks the patch looks good.
source/inifiled.d
Outdated
| enum Check : string { disabled = "disabled"} | ||
|
|
||
| @INI | ||
| struct StaticAnalysisConfig |
There was a problem hiding this comment.
inifiled style differs from phobos. opening curly braces go on the previous line
source/inifiled.d
Outdated
| } | ||
|
|
||
| version(unittest) { | ||
| enum Check : string { disabled = "disabled"} |
| - dmd-beta | ||
| - dmd | ||
| - ldc-beta | ||
| - ldc |
There was a problem hiding this comment.
Btw Travis crons are highly useful: https://blog.travis-ci.com/2016-12-06-the-crons-are-here
| - ldc | ||
| - dmd-2.069.0 | ||
| - dmd-2.070.2 | ||
| - dmd-2.071.2 |
There was a problem hiding this comment.
Travis complains about older platforms:
inifiled 1.0.1+commit.3.gda4fa76: building configuration "inifiled-test-library"...
source/inifiled.d-mixin-253(255,1): Warning: switch case fallthrough - use 'goto default;' if intended
source/inifiled.d-mixin-253(255,1): Warning: switch case fallthrough - use 'goto case;' if intended
source/inifiled.d-mixin-253(256,1): Warning: switch case fallthrough - use 'goto default;' if intended
source/inifiled.d-mixin-253(255,1): Warning: switch case fallthrough - use 'goto default;' if intended
dmd failed with exit code 1.
Looks like a compiler error that has been fixed in 2.072 - is there any legitimate interest in supporting outdated releases? For the build scripts at dlang 2.072.2 is mostly used as "stable" DMD ...
Done. |
|
@wilzbach thanks |
|
Thanks a lot for the fast feedback, merge & releasing a new version! |
|
already released a new version |
When adding a new feature for Dscanner (dlang-community/D-Scanner#460), I ran into this issue. I think it's best described by the test, but I also appended the cleaned
dub testlogs of inifiled's current behavior:Without this patch
Adding a dummy variable (aka the previous workaround)