digitalmars.D.bugs - [Issue 3733] New: call overloaded method by shared
- d-bugmail puremagic.com (47/47) Jan 22 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3733
- d-bugmail puremagic.com (10/10) Jul 02 2011 http://d.puremagic.com/issues/show_bug.cgi?id=3733
- d-bugmail puremagic.com (16/16) Jul 02 2011 http://d.puremagic.com/issues/show_bug.cgi?id=3733
- d-bugmail puremagic.com (10/10) Nov 25 2011 http://d.puremagic.com/issues/show_bug.cgi?id=3733
- d-bugmail puremagic.com (10/10) Jan 11 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3733
- d-bugmail puremagic.com (11/11) Oct 07 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3733
http://d.puremagic.com/issues/show_bug.cgi?id=3733 Summary: call overloaded method by shared Product: D Version: 2.039 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: d_lang ku6.jp Sample code: -------- class SampleClass { void foo() {} shared void foo() {} void bar() { foo(); } } -------- Result with dmd 2.039: -------- test.d(10): Error: function test.SampleClass.foo called with argument types: (()) matches both: test.SampleClass.foo() and: test.SampleClass.foo() -------- I think that no shared 'foo' method should be called in 'bar' method. If 'foo' method is called from 'this' pointer explicitly, dmd compile successfully. -------- void bar() { this.foo(); } -------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 22 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3733 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |webby beardmouse.org.uk *** Issue 4392 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 02 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3733 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid CC| |yebblies gmail.com Platform|x86 |All Summary|call overloaded method by |Overloading on 'this' |shared |modifiers fails with | |implicit 'this' OS/Version|Windows |All This applies to any this modifier, not just shared. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 02 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3733 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch https://github.com/D-Programming-Language/dmd/pull/534 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 25 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3733 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code benjamin-thaut.de *** Issue 7276 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 11 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3733 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED https://github.com/D-Programming-Language/dmd/commit/9aea891987a8c58b3c02c6d32f28a12c579400f3 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 07 2012