Bug 7578 – ICE on indexing result of vararg opDispatch

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-02-25T02:32:00Z
Last change time
2012-06-11T22:36:40Z
Keywords
ice, pull
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2012-02-25T02:32:32Z
cat > bug.d << CODE struct Foo { static int[] opDispatch(string op, Args...)(Args) { return [0]; } } void foo() { Foo.attrs[0] = 1; } CODE dmd -c bug ----
Comment #1 by k.hara.pg — 2012-02-25T20:41:06Z
Comment #2 by k.hara.pg — 2012-03-04T00:37:32Z
*** Issue 7642 has been marked as a duplicate of this issue. ***
Comment #3 by lovelydear — 2012-04-20T02:04:52Z
Wow, that one compiles, but its execution on Windows XP (under Powershell) starts the ntvdm.exe (16-bit Virtual Machine) !!
Comment #4 by k.hara.pg — 2012-06-11T22:36:40Z