[Issue 2962] ICE(glue.c) or bad codegen passing variable as template value parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 23 02:40:08 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=2962
Andriy <andrden at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrden at gmail.com
--- Comment #33 from Andriy <andrden at gmail.com> 2011-05-23 02:35:44 PDT ---
dmd v2.052, Ubuntu, quite short example of this bug:
$ cat main.d
import std.stdio;
void main(){}
$ cat utils.d
import std.json;
auto val = &parseJSON!string;
$ dmd main.d utils.d
/usr/include/d/dmd/phobos/std/conv.d(1301): Error: function
std.conv.parse!(real,string).parse compiler error, parameter 'p', bugzilla
2962?
dmd: glue.c:734: virtual void FuncDeclaration::toObjFile(int): Assertion `0'
failed.
Aborted (core dumped)
--
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