https://issues.dlang.org/show_bug.cgi?id=23676
RazvanN changed:
What|Removed |Added
OS|Mac OS X|All
--
https://issues.dlang.org/show_bug.cgi?id=23676
--- Comment #4 from RazvanN ---
I manually reduced it to get rid of phobos and other unrelated features:
module lexer;
enum Type
{
operatorSlash,
operatorSlashEqual,
operatorAnd,
operatorAndEqual,
operatorAndAnd,
https://issues.dlang.org/show_bug.cgi?id=23676
--- Comment #3 from Bradley Chatha ---
Marking the nested function as @safe prevents the error message; allows the
compilation to succeed, however the compiler does still hang for a while before
it finishes.
--
https://issues.dlang.org/show_bug.cgi?id=23676
--- Comment #2 from Bradley Chatha ---
Even more strangely: If you delete any line within the body of the case
statement that is guarded by the fault `static if`, compilation succeeds.
What a very strange edge case this is hitting.
--
https://issues.dlang.org/show_bug.cgi?id=23676
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com