http://d.puremagic.com/issues/show_bug.cgi?id=5363
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Kenji Hara <[email protected]> 2011-06-21 19:36:13 PDT --- More simple case: ---- struct S { int dummy; alias dummy this; } int foo(int){ return 1; } int foo(const(S)){ return 2; } void main() { S s; assert(foo(s) == 2); } ---- It is the reason of this problem that the type matching levels through normal and alias this have same basis. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
