Bug 12903 – dmd stuck forever in dmd TemplateInstance::toAlias()

Status
RESOLVED
Resolution
DUPLICATE
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-06-13T07:32:00Z
Last change time
2014-06-15T01:00:42Z
Assigned to
nobody
Creator
timothee.cour2

Comments

Comment #0 by timothee.cour2 — 2014-06-13T07:32:32Z
dmd -c main.d 2.065: never completes or segfaults sometimes previous versions: compile error(Error: alias std.traits.moduleName!(foo).moduleName recursive alias declaration) (only tested on ubuntu 64 bit but might be same elsewhere) //main.d: void foo(alias fun)(){ size_t failed; import std.traits; auto a=moduleName!failed; } void test(){ foo!(""); }
Comment #1 by k.hara.pg — 2014-06-15T01:00:42Z
*** This issue has been marked as a duplicate of issue 12287 ***