http://d.puremagic.com/issues/show_bug.cgi?id=1041
--- Comment #10 from Michael P <baseball....@gmail.com> 2010-08-13 13:24:01 PDT --- Well, the error in std/string.d is quite odd, because it has nothing to do with switch statements. Commenting out the code in ifind in the else statement to look like this: (Look lines 352-357) /*foreach (ptrdiff_t i, dchar c2; s) { c2 = std.uni.toUniLower(c2); if (c1 == c2) return i; }*/ Makes it compile string.d okay. The next problems found in std/regexp.d can be simplified to this: void main() { switch( 1 ) { case 1: switch(1) { default: } break; } } Basically: nested switch statements seem to be a problem with the patch. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------