Allow duplicate braces in allman style#449
Conversation
|
FYI in case you are interested: the PR at Phobos to prepare for enabling the allman check: dlang/phobos#5480 |
|
what's the point with this thing ? Don't know how to call it btw immediate scope ? |
It's a "pattern" that appears in Phobos ...
Good idea. Btw we seem to have an issue with the non-DUB builds & dmd-nightly: I think DUB managed to evade this by not trying to build it and just passing the containers as input directory? |
See also: https://github.com/economicmodeling/containers/issues/80 (it's a regression from dlang/dmd#6816, similarly to dlang-community/D-YAML#66) |
|
based on the previous comment i guess this is ok to merge. |
It seems like I have tested Phobos yesterday with a wrong dscanner binary.
However, there's only one small need for amendment that I found.
Apparently e.g in
std/experimental/allocator/common.dthis brace style seems to be popular forstatic if: