digitalmars.D.bugs - [Issue 7298] New: [CTFE] global static function and delegate literals
- d-bugmail puremagic.com Jan 15 2012
- d-bugmail puremagic.com Jan 16 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7298 Summary: [CTFE] global static function and delegate literals Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: timon.gehr gmx.ch --- Comment #0 from timon.gehr gmx.ch 2012-01-15 09:46:39 PST --- the following code should compile: auto a = (int x)=>x+1; // fail auto b = function(int x)=>x+1; // fine struct Foo {int function(int) f;} auto s = Foo(function(int x)=>x+1); // fail -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7298 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid CC| |clugdbug yahoo.com.au Summary|[CTFE] global static |global static function and |function and delegate |delegate literals |literals | --- Comment #1 from Don <clugdbug yahoo.com.au> 2012-01-16 13:57:10 PST --- These examples don't involve CTFE. There isn't even any constant folding. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 16 2012








d-bugmail puremagic.com