[Issue 9941] Allows to return class objects and pointers to the structures, which were created with "new".
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 16 13:41:25 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9941
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2013-04-16 13:41:24 PDT ---
This is currently allowed:
class Foo {
int f;
this(int a) { f = a; }
}
const foo = new Foo(42);
void main() {}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list