Bug 1724 – Internal error: toir.c 177

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2007-12-11T02:35:00Z
Last change time
2014-02-24T15:32:33Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
samukha

Comments

Comment #0 by samukha — 2007-12-11T02:35:38Z
struct Bar(alias baz) { void qux() { baz(); } } void main() { void foo() { } Bar!(foo) bar; } Fails with Internal error: toir.c 177. The error is caused by the call in the struct member function to the nested function through the alias template parameter.
Comment #1 by bugzilla — 2008-02-16T06:04:19Z
Fixed dmd 1.026 and 2.010