September 17, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8679

           Summary: ICE after compiler-error
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-09-17 11:23:16 PDT ---
class Foo
{
    string foo()
    {
        return "";
    }
}

void main()
{
    Foo f = new Foo;
    mixin(f.foo());
}

test.d(14): Error: variable f cannot be read at compile time
Assertion failure: 'v->ctfeAdrOnStack >= 0 && v->ctfeAdrOnStack <
stackPointer()' on line 100 in file 'interpret.c'

The error is ok but the ICE should not appear. Not my code, reduced from: http://forum.dlang.org/thread/kftoqbweswexqjumkhks@forum.dlang.org#post-kftoqbweswexqjumkhks:40forum.dlang.org

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 21, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8679


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug@yahoo.com.au
         Resolution|                            |DUPLICATE


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2012-09-20 23:45:30 PDT ---
*** This issue has been marked as a duplicate of issue 8253 ***

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