http://d.puremagic.com/issues/show_bug.cgi?id=3119


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|x86_64                      |All
            Summary|Segfault combining          |Segfault(expression.c)
                   |std.c.linux and passing a   |template function overloads
                   |ref string                  |with function with same
                   |                            |name in other module
         OS/Version|Linux                       |All
           Severity|minor                       |normal


--- Comment #2 from Don <clugd...@yahoo.com.au> 2009-10-09 05:23:42 PDT ---
Reduced test case. Applies on any OS (not Linux specific), but D2 only since it 
involves overload sets.
Import order is important! If order of imports is swapped, generates "Error: 
expected 1 function arguments, not 0".
Segfaulting in CallExp::semantic(). e1->type is garbage. (not NULL, garbage!)

----
import bugB;
import bugC;

void main() {  foo(); }
----
     bugB.d:
----
void foo(int) {} 
---
    bugC.d:
---
void foo(T)(){}

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

Reply via email to