[Issue 8720] ICE: Assertion failure: '!vthis->csym' on line 727 in file 'glue.c'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 2 04:27:08 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8720
tmn <tmn.dbugs at mailinator.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice
CC| |tmn.dbugs at mailinator.com
Summary|Assertion failure: |ICE: Assertion failure:
|'!vthis->csym' on line 727 |'!vthis->csym' on line 727
|in file 'glue.c' |in file 'glue.c'
--- Comment #1 from tmn <tmn.dbugs at mailinator.com> 2012-11-02 04:27:00 PDT ---
I get this with the following test case:
----------------
module b;
void call(alias fun)() {
fun(0);
}
----------------
module a;
import b;
class A {
void foo(int c) {
call!(a => c);
}
}
----------------
> dmd b.d a.d
dmd: glue.c:727: virtual void FuncDeclaration::toObjFile(int): Assertion
`!vthis->csym' failed.
In addition, if I remove the class around the function foo, then I get the ICE
described in issue 2962:
----------------
module b;
void call(alias fun)() {
fun(0);
}
----------------
module a;
import b;
void foo(int c) {
call!(a => c);
}
----------------
> dmd b.d a.d
a.d(5): Error: function a.foo compiler error, parameter 'c', bugzilla 2962?
dmd: glue.c:758: virtual void FuncDeclaration::toObjFile(int): Assertion `0'
failed.
(Using DMD64 D Compiler v2.060 on Linux)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list