digitalmars.D.bugs - [Issue 4055] New: ICE(tocsym.c:407) virtual Symbol* FuncDeclaration::toSymbol(): Assertion `0' failed.
- d-bugmail puremagic.com (47/47) Apr 02 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4055
- d-bugmail puremagic.com (6/6) Apr 02 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4055
- d-bugmail puremagic.com (10/10) Apr 02 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4055
- d-bugmail puremagic.com (12/12) Apr 03 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4055
http://d.puremagic.com/issues/show_bug.cgi?id=4055
Summary: ICE(tocsym.c:407) virtual Symbol*
FuncDeclaration::toSymbol(): Assertion `0' failed.
Product: D
Version: 2.041
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: robert octarineparrot.com
04:45:34 BST ---
Test case:
a.d:
----
import b;
class Sub : Super
{
int fail()
{
return Super.fail();
}
}
----
b.d:
----
class Super
{
int fail()
out (result) {}
body
{
assert(0);
}
}
----
Compile with dmd -c a.d. If you compile with dmd a.d b.d the ICE does not
occur. DMD outputs:
b.d(5): Error: function __ensure forward declaration
linkage = 0
dmd: tocsym.c:407: virtual Symbol* FuncDeclaration::toSymbol(): Assertion `0'
failed.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 02 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4055 04:48:57 BST --- I should note this is blocking a linux port of ddmd. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 02 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4055
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug yahoo.com.au
Duplicate of 3602?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 02 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4055
Robert Clipsham <robert octarineparrot.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
13:18:21 BST ---
You are correct Don, it is a duplicate, sorry for the noise.
*** This issue has been marked as a duplicate of issue 3602 ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 03 2010









d-bugmail puremagic.com 