[Issue 10201] New: "= void" initialization should not be allowed in @safe
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 29 08:23:23 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10201
Summary: "= void" initialization should not be allowed in @safe
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: m.strashun at gmail.com
--- Comment #0 from Dicebot <m.strashun at gmail.com> 2013-05-29 08:23:23 PDT ---
Compiles in 2.063:
------------
@safe void foo()
{
int x = void;
}
------------
Reporting because Andrei has clearly stated this is not intentional:
http://forum.dlang.org/post/ko55pi$2upp$1@digitalmars.com
--
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