workaround inline Issue 7625

- add explicit else branches so that dmd can inline those functions

[Issue 7625 – inlining only works with explicit else branch](https://issues.dlang.org/show_bug.cgi?id=7625)