I was reading D language reference and found some issue with "case ... :" statement specifications. Documentation http://dlang.org/statement#CaseStatement says that after case 1: must be non-empty statement "ScopeStatementList". For example case 1: } case 2: ; case 3