← Back to index
|
Original Bugzilla link
Bug 153 – Assertion failure :: template.c:2111
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-05-23T05:55:00Z
Last change time
2014-02-15T13:21:50Z
Keywords
ice-on-invalid-code
Assigned to
bugzilla
Creator
h3r3tic
Comments
Comment #0
by h3r3tic — 2006-05-23T05:55:44Z
template bar(T) { void foo() {} } alias bar!(long).foo foo; alias bar!(char).foo foo; void main() { foo!(long); } ---- Yes, this code is invalid ;) Thanks
Comment #1
by bugzilla — 2006-05-25T04:24:58Z
Fixed 0.158
Comment #2
by thomas-dloop — 2007-01-01T04:25:47Z
test cases:
http://dstress.kuehne.cn/nocompile/a/alias_36_A.d
http://dstress.kuehne.cn/nocompile/a/alias_36_B.d
http://dstress.kuehne.cn/nocompile/a/alias_36_C.d
http://dstress.kuehne.cn/nocompile/a/alias_36_D.d
http://dstress.kuehne.cn/nocompile/a/alias_36_E.d