CaseStatement specification issue

Sergey Kozyr via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 14 06:14:44 PDT 2014


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


More information about the Digitalmars-d mailing list