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

           Summary: manifest constant (enum) crashes dmd
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: s...@extrawurst.org


--- Comment #0 from Stephan Dilly <s...@extrawurst.org> 2009-12-24 05:30:11 PST 
---
version is 2.037 but it is not available in bugzilla.

[CODE]
import std.stdio;

struct Foo
{
    public int foo()
    {
        return 2;
    }
}

void main()
{
    Foo bar;
    enum bla = bar.foo(); //crash
}
[/CODE]

this enum declration gives no error or anything but crashes dmd (2.037) while
compiling with no options set.

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

Reply via email to