D-Programming-Language/dmd — pull request #1232 by 9rnsr (2012-10-27 17:06:19+00:00)
Title: Issue 8365 - Static fixed size array of enums initialization fails

http://d.puremagic.com/issues/show_bug.cgi?id=8365

FuncDeclaration::labtab is used by CTFE interpreter, but the labels used in `in`/`out` contracts are not merged in `labtab`.
But, syntactically labels can have same name between `in`/`out` and body. Then for the labels in contract, the internal prefixes `__in_` and `__out_` should be added to them for the look-up name uniqueness.

Additional change: `Statement::incontract` is not used completely, so remove it.