fix Issue 10820 - curly brakets prevent inlining with DMD