digitalmars.D.bugs - [Issue 9312] New: with statement error message should say structs are allowed as expressions
- d-bugmail puremagic.com (27/28) Jan 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9312
- d-bugmail puremagic.com (6/6) Jan 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9312
- d-bugmail puremagic.com (13/13) Jan 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9312
- d-bugmail puremagic.com (11/11) Jan 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9312
http://d.puremagic.com/issues/show_bug.cgi?id=9312 Summary: with statement error message should say structs are allowed as expressions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic, pull Severity: normal Priority: P2 Component: DMD AssignedTo: andrej.mitrovich gmail.com ReportedBy: andrej.mitrovich gmail.com 11:03:22 PST --- void main() { with (1) { } } $ dmd test.dError: with expressions must be class objects, not 'int'Should be: Error: with expressions must be class or struct objects, not 'int' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 13 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9312 11:06:08 PST --- https://github.com/D-Programming-Language/dmd/pull/1479 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 13 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9312 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|with statement error |with statement error |message should say structs |message is wrong |are allowed as expressions | 19:07:17 PST --- Actually it shouldn't list anything because there's too much to list, e.g. structs, classes, modules, enums, etc. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 13 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9312 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED https://github.com/D-Programming-Language/dmd/commit/617c393034024471722ed73711d7100fa3a45780 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 13 2013