← Back to index
|
Original Bugzilla link
Bug 11726 – ICE with ufcs on undefined identifier and opDispatch
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-11T08:15:00Z
Last change time
2013-12-12T16:38:44Z
Keywords
ice, pull
Assigned to
nobody
Creator
jlquinn
Comments
Comment #0
by jlquinn — 2013-12-11T08:15:22Z
ice.d: import std.array; struct A {} struct B { A[] a; void foo() { auto app = appender(&a); app.reserve(x.foo()); } } /home/jlquinn/dmd2/linux/bin64/dmd -c ice.d Statement::toCBuffer() Internal error: s2ir.c 135 Ubuntu 13.04 x86_64
Comment #1
by yebblies — 2013-12-12T03:43:58Z
struct S { auto opDispatch(string fn, Args...)(Args args) { } } void main() { S().reserve(x.foo()); }
https://github.com/D-Programming-Language/dmd/pull/2954
Comment #2
by github-bugzilla — 2013-12-12T13:45:00Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e36b695165ed055f704d14e613df35d707bd739d
Fix Issue 11726 - ICE with ufcs on undefined identifier and opDispatch
https://github.com/D-Programming-Language/dmd/commit/0e583e5e69ef4e57fab2fda2d4418de21cf64a81
Merge pull request #2954 from yebblies/issue11726 Issue 11726 - ICE with ufcs on undefined identifier and opDispatch