digitalmars.D.bugs - [Issue 10349] New: UFCS fails under a with statement block
- d-bugmail puremagic.com (38/38) Jun 12 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10349
- d-bugmail puremagic.com (11/11) Jun 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10349
http://d.puremagic.com/issues/show_bug.cgi?id=10349 Summary: UFCS fails under a with statement block Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: alanb ucora.com Attempts to use UFCS as a means to externally extend classes and structs fails when used under a with statement. Example: struct S { void a(){ ... } void b(){ ... } void d(){ ... } } void c(S s){ ... } void main() { S s; with (s) { a; b; c; // compiler error d; } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 12 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10349 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 8000 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 13 2013