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


d...@dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |CTFE
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


--- Comment #2 from d...@dawgfoto.de 2012-03-25 17:48:06 PDT ---
cat > bug.d << CODE
immutable char[5] foo = "abcde";

int bar(string a, string b)
{
    return 0;
}

void baz()
{
    enum s = bar(foo, foo[0 .. $]);
}

// Assertion failed: (!v->isDataseg() || v->isCTFE()), function push, file
interpret.c, line 108.
version (none)
enum s = bar(foo, foo[0 .. $]);
CODE

dmd -c bug

--------

Sorry, you're point was obviously that __dollar should be resolvable
at compile time.

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

Reply via email to