[Issue 3573] pure and nothrow allow function return type to be inferred
https://issues.dlang.org/show_bug.cgi?id=3573 Bolpatchanged: What|Removed |Added CC|qs.il.paperi...@gmail.com | --
[Issue 3573] pure and nothrow allow function return type to be inferred
https://issues.dlang.org/show_bug.cgi?id=3573 Vladimir Panteleevchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Vladimir Panteleev --- (In reply to Michal Minich from comment #0) > 1. it is possible to declare function without specifying return type. > > pure foo () {} > pure foo () {} > pure nothrow foo () {} These are now implied to have an "auto" return type, i.e.: pure foo () {} pure bar () { return 1; } pragma(msg, typeof(foo()).stringof); // prints "void" pragma(msg, typeof(bar()).stringof); // prints "int" --
[Issue 3573] pure and nothrow allow function return type to be inferred
https://issues.dlang.org/show_bug.cgi?id=3573 Bolpatchanged: What|Removed |Added CC||qs.il.paperi...@gmail.com --- Comment #3 from Bolpat --- Isn't 1. a feature? --
[Issue 3573] pure and nothrow allow function return type to be inferred
https://d.puremagic.com/issues/show_bug.cgi?id=3573 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||burg.bas...@yahoo.com --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-17 18:08:31 EST --- *** Issue 11491 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---