digitalmars.D.bugs - [Issue 12299] New: DMD accepts another invalid alias declaration
- d-bugmail puremagic.com (24/24) Mar 04 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12299
https://d.puremagic.com/issues/show_bug.cgi?id=12299 Summary: DMD accepts another invalid alias declaration Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: brian-schott cox.net Try to compile this with DMD: alias ref int x; alias y = ref int; The parser accepts the first declaration, but not the second. The language specification has no grammar rules that can be used to produce the first declaration. Related: https://github.com/Hackerpilot/Dscanner/issues/125 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 04 2014