Thread overview |
---|
August 28, 2007 [Issue 1447] New: CTFE does not work for static member functions of a class | ||||
---|---|---|---|---|
| ||||
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 -- |
September 09, 2007 [Issue 1447] CTFE does not work for static member functions of a class | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 *** -- |
September 29, 2007 [Issue 1447] CTFE does not work for static member functions of a class | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 -- |
Copyright © 1999-2021 by the D Language Foundation