[Issue 7131] [tdpl] Hijacking detected where it doesn't exist

2012-01-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7131


d...@dawgfoto.de changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #5 from d...@dawgfoto.de 2012-01-20 09:38:30 PST ---
Selective imports used to be added to the importing
module as an alias. The compiler does not generate
an overload set for aliased symbols, thus failed to
resolve this.

Fixed by:
https://github.com/D-Programming-Language/dmd/commit/dc5ab5ca6e00975cb836dabb00fa602cb7688ae2

The fix is not complete as it misses cases with nested
overload sets and aliases but I'll open a separate bug
report for that.

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


[Issue 7131] [tdpl] Hijacking detected where it doesn't exist

2012-01-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7131


d...@dawgfoto.de changed:

   What|Removed |Added

 AssignedTo|nob...@puremagic.com|d...@dawgfoto.de


--- Comment #4 from d...@dawgfoto.de 2012-01-20 07:39:53 PST ---
Doesn't fail any longer, but I'll still have a look what went wrong/resolved
it.

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


[Issue 7131] [tdpl] Hijacking detected where it doesn't exist

2012-01-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7131



--- Comment #3 from d...@dawgfoto.de 2012-01-18 11:27:48 PST ---
OK, std.string and std.regex should implicitly form
two overload sets. As the resolved set in std.string
is empty std.regex.split should be called.

http://www.d-programming-language.org/hijack.html

I will take a look at this when I find some time.

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


[Issue 7131] [tdpl] Hijacking detected where it doesn't exist

2012-01-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7131



--- Comment #2 from d...@dawgfoto.de 2012-01-16 18:10:21 PST ---
Can you elaborate on why this should work.
There is a related bug w.r.t. buggy private overload resolution.
http://d.puremagic.com/issues/show_bug.cgi?id=5422

But here both functions/symbols imported are public.

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


[Issue 7131] [tdpl] Hijacking detected where it doesn't exist

2011-12-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7131


d...@dawgfoto.de changed:

   What|Removed |Added

 CC||d...@dawgfoto.de


--- Comment #1 from d...@dawgfoto.de 2011-12-22 12:34:12 PST ---
Shouldn't this rather error when importing std.array.
I thought you must declare an overloadset to allow ADL.

alias std.regex.split split;
alias std.array.split split;

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