[Issue 4053] To avoid struct ctor/opCall conflicts

2011-06-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4053


Kenji Hara  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||k.hara...@gmail.com
 Resolution||DUPLICATE


--- Comment #5 from Kenji Hara  2011-06-21 07:03:40 PDT ---
*** This issue has been marked as a duplicate of issue 6036 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4053] To avoid struct ctor/opCall conflicts

2011-04-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4053


kenn...@gmail.com changed:

   What|Removed |Added

 CC||kenn...@gmail.com


--- Comment #4 from kenn...@gmail.com 2011-04-28 11:41:16 PDT ---
Probably the same as issue 1840.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4053] To avoid struct ctor/opCall conflicts

2011-03-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4053



--- Comment #3 from bearophile_h...@eml.cc 2011-03-08 09:53:38 PST ---
See also bug 4253

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4053] To avoid struct ctor/opCall conflicts

2011-03-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4053



--- Comment #2 from bearophile_h...@eml.cc 2011-03-08 00:32:29 PST ---
This (modified) example from Tom shows problems with not static opCall too:


struct Foo {
int i;
this(int i) { this.i = i; }
void opCall(int x, int y) {}
}
void main() {
Foo foo;
foo(1, 2);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4053] To avoid struct ctor/opCall conflicts

2011-01-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4053


Adam D. Ruppe  changed:

   What|Removed |Added

 CC||destructiona...@gmail.com


--- Comment #1 from Adam D. Ruppe  2011-01-06 
05:18:58 PST ---
An important addition to the suggestion: *static* opCall is the real problem
here. There should be no problem between an instance opCall and a constructor.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---