[Issue 8865] Assertion failure: on line 1166 in interpret.c

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 21 16:23:12 PDT 2012


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



--- Comment #1 from Ryuichi OHORI <r.97all at gmail.com> 2012-10-21 16:23:11 PDT ---
> the code above
If -release, it compiles.

And below compiles as well:

void main() {}

static int x = f();

static int f()
  out { g(); }
  body { return 1; }

void g()
{
label:
    foreach (i; 0..1)
    {
        continue label;
    }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list