Thread overview
[Issue 1005] New: dmd: tocsym.c:343: virtual Symbol* FuncDeclaration::toSymbol(): Assertion `0' failed.
Feb 24, 2007
d-bugmail
Feb 24, 2007
d-bugmail
Feb 25, 2007
d-bugmail
Feb 28, 2007
d-bugmail
Mar 19, 2007
d-bugmail
February 24, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1005

           Summary: dmd: tocsym.c:343: virtual Symbol*
                    FuncDeclaration::toSymbol(): Assertion `0' failed.
           Product: D
           Version: 1.007
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: benoit@tionex.de


Sorry, again no example. I get this with dmd 1.005 and dmd 1.007. I did not test other versions.


-- 

February 24, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1005





------- Comment #1 from benoit@tionex.de  2007-02-24 08:14 -------
Additional info:
it prints "linkage = 0"


-- 

February 25, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1005





------- Comment #2 from benoit@tionex.de  2007-02-25 05:53 -------
Here comes the sample:

class Base {
    public void fnc(){
    }
}
class Foo : Base {
    alias Base.fnc fnc;
    public void fnc(){
    }
    static this(){
        alias void function() T;
        T ptr = & fnc;
    }
}


-- 

February 28, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1005





------- Comment #3 from thomas-dloop@kuehne.cn  2007-02-27 18:35 -------
Added to DStress as http://dstress.kuehne.cn/run/b/bug_tocsym_343_A.d http://dstress.kuehne.cn/run/b/bug_tocsym_343_B.d


-- 

March 19, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1005


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from bugzilla@digitalmars.com  2007-03-19 17:38 -------
Fixed DMD 1.009


--