digitalmars.D.bugs - [Issue 1447] New: CTFE does not work for static member functions of a class
- d-bugmail puremagic.com (24/24) Aug 28 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1447
- d-bugmail puremagic.com (11/11) Sep 08 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1447
- d-bugmail puremagic.com (4/4) Sep 28 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1447
http://d.puremagic.com/issues/show_bug.cgi?id=1447 Summary: CTFE does not work for static member functions of a class Product: D Version: 2.003 Platform: PC OS/Version: Windows Status: NEW Severity: blocker Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: samukha voliacable.com class Foo //works with structs { static string gen() { return ""; } } auto s = Foo.gen(); --------------- Error: cannot evaluate gen() at compile time --
Aug 28 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1447 davidl 126.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from davidl 126.com 2007-09-08 23:04 ------- I think this is a duplicate issue of http://d.puremagic.com/issues/show_bug.cgi?id=1075 *** This bug has been marked as a duplicate of 1075 *** --
Sep 08 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1447 ------- Comment #2 from bugzilla digitalmars.com 2007-09-28 22:14 ------- Fixed dmd 1.021 and 2.004 --
Sep 28 2007