Bug 1005 – dmd: tocsym.c:343: virtual Symbol* FuncDeclaration::toSymbol(): Assertion `0' failed.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2007-02-24T07:05:00Z
Last change time
2014-02-16T15:22:03Z
Assigned to
bugzilla
Creator
benoit

Comments

Comment #0 by benoit — 2007-02-24T07:05:48Z
Sorry, again no example. I get this with dmd 1.005 and dmd 1.007. I did not test other versions.
Comment #1 by benoit — 2007-02-24T08:14:50Z
Additional info: it prints "linkage = 0"
Comment #2 by benoit — 2007-02-25T05:53:12Z
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; } }
Comment #3 by thomas-dloop — 2007-02-27T18:35:42Z
Comment #4 by bugzilla — 2007-03-19T17:38:05Z
Fixed DMD 1.009