digitalmars.D.bugs - [Issue 8629] New: UFCS resolution prints fake error
- d-bugmail puremagic.com (37/37) Sep 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8629
- d-bugmail puremagic.com (10/10) Sep 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8629
- d-bugmail puremagic.com (11/11) Sep 10 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8629
- d-bugmail puremagic.com (9/9) Nov 14 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8629
http://d.puremagic.com/issues/show_bug.cgi?id=8629 Summary: UFCS resolution prints fake error Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: trivial Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com --- Comment #0 from Kenji Hara <k.hara.pg gmail.com> 2012-09-08 00:08:15 PDT --- Following code compilation fails with -property switch. ---- struct S {} auto gunc(S s, int n) { return 13; } property grop(S s, int n) { return 14; } void main() { S s; assert((s.gunc = 1) == 13); // line 9 assert((s.grop = 1) == 14); // line 10 } output: ---- test.d(9): Error: not a property s.gunc test.d(10): Error: function test.grop (S s, int n) is not callable using argument types (S) test.d(10): Error: expected 2 function arguments, not 1 ---- But if you comment out line 9, you can succeed to compile. Then, the line 10 error for the code is *fake*. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 08 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8629 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2012-09-08 00:14:02 PDT --- https://github.com/D-Programming-Language/dmd/pull/1106 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 08 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8629 --- Comment #2 from github-bugzilla puremagic.com 2012-09-10 04:30:28 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/cc4598aa7996bb31982cd90920c4ec37d1711b44 fix Issue 8629 - UFCS resolution prints fake error https://github.com/D-Programming-Language/dmd/commit/caf289137881ec290166afa72bc787bfbd6bd970 Merge pull request #1106 from 9rnsr/fix8629 Issue 8629 - UFCS resolution prints fake error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 10 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8629 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 14 2012