http://d.puremagic.com/issues/show_bug.cgi?id=9399
Summary: ICE with nested function, template alias parameter, -inline, depending on order of source files Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: nilsboss...@googlemail.com --- Comment #0 from Nils <nilsboss...@googlemail.com> 2013-01-26 01:04:55 PST --- Fails since c4e23a5a470aa981b268d56f22b15ef17e09aa72 (2.061). --- cat > test1.d <<CODE import test2; void fun(int a) { void nested() { a = 42; } call!nested(); } CODE cat > test2.d <<CODE void call(alias n)() { n(); } CODE dmd -c -inline test2.d test1.d --- test1.d(2): Error: function test1.fun compiler error, parameter 'a', bugzilla 2962? dmd: glue.c:808: 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: -------