Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 15, 2012 [Issue 7298] New: [CTFE] global static function and delegate literals | ||||
---|---|---|---|---|
| ||||
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: ------- |
January 16, 2012 [Issue 7298] global static function and delegate literals | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | 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: ------- |
December 10, 2012 [Issue 7298] global static function and delegate literals | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=7298 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-10 15:16:33 PST --- Works in 2.060, fixed? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation