Thread overview | |||||
---|---|---|---|---|---|
|
November 06, 2006 [Issue 484] New: Compiler segfault with template variadic used as a template alias. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=484 Summary: Compiler segfault with template variadic used as a template alias. Product: D Version: 0.173 Platform: PC OS/Version: Windows Status: NEW Severity: minor Priority: P5 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: clugdbug@yahoo.com.au I'm not sure what this should do, actually -- but it shouldn't crash. -------- template g(alias B) { int g = 2; } int f(A...)(A a) { return g!(a); } int main() { return f(4); } -- |
November 15, 2006 [Issue 484] Compiler segfault with template variadic used as a template alias. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=484 deewiant@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from deewiant@gmail.com 2006-11-15 02:57 ------- Fixed in DMD 0.174. -- |
November 23, 2006 Re: [Issue 484] New: Compiler segfault with template variadic used as a template alias. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@puremagic.com schrieb am 2006-11-06: > http://d.puremagic.com/issues/show_bug.cgi?id=484 > I'm not sure what this should do, actually -- but it shouldn't crash. > -------- > template g(alias B) > { > int g = 2; > } > > int f(A...)(A a) > { > return g!(a); > } > > int main() > { > return f(4); > } Added to DStress as http://dstress.kuehne.cn/run/t/tuple_02_A.d Thomas |
Copyright © 1999-2021 by the D Language Foundation