June 13, 2013 [Issue 10349] New: UFCS fails under a with statement block | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Rob T <alanb@ucora.com> 2013-06-12 21:40:55 PDT --- 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: ------- |
June 13, 2013 [Issue 10349] UFCS fails under a with statement block | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rob T | 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 --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-06-13 02:23:51 PDT --- *** 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: ------- |
Copyright © 1999-2021 by the D Language Foundation