On Thu, 07 May 2009 07:31:50 -0400, Lars T. Kyllingstad
<pub...@kyllingen.nospamnet> wrote:
Can someone with knowledge of the DMD source code please explain this
error message for me?
dmd: glue.c:652: virtual void FuncDeclaration::toObjFile(int): Assertion
`!v->csym' failed.
I had a look at the DMD source to try and make some sense of it myself,
but didn't succeed. I am using the latest DMD, 2.029.
I am in the middle of porting a library from D1 to D2, and as there is
no mention of a file name, let alone a line number, I find it hard to
narrow down the cause of the error.
An assertion is failing in the code in method
FunctionDeclaration::toObjFile(int). The assertion looks like it's
expecting v->csym to be either null or non-null.
What this means, I have no idea. Generally bugs like this you have to
narrow down what's causing the bug in your D source, and then report the
bug on bugzilla.
-Steve