--- Comment #4 from Jonathan M Davis <> 2012-09-03 23:26:55 
PDT ---
> However, there is still a question what to do when both function are available

I'd definitely choose to go with making the code not compile. Otherwise, it
risks function hijacking. You could have

auto foo(S s) {...}

in my.pack which

S* s;;

is happily calling, and then when you change the code to import your.pack with

auto foo(S* s) {...}

the code would silently change which function was being called. In general, we
try and make all such situations compilation errors in D.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to