Bug 11193 – [ICE] String template argument mixed with variadic template arguments causes ICE

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-07T16:20:00Z
Last change time
2013-11-13T23:33:34Z
Keywords
ice
Assigned to
nobody
Creator
monkeyworks12

Comments

Comment #0 by monkeyworks12 — 2013-10-07T16:20:26Z
void test(string str, A...)(typeof([A]) a) { } void main(string[] args) { test!("a b c") = [1, 2, 3]; }
Comment #1 by yebblies — 2013-11-13T22:57:23Z
I get testx.d(1): Error: undefined identifier A testx.d(1): Error: undefined identifier A testx.d(7): Error: not a property test!"a b c" An no ice. Possibly fixed?
Comment #2 by monkeyworks12 — 2013-11-13T23:25:39Z
(In reply to comment #1) > I get > > testx.d(1): Error: undefined identifier A > testx.d(1): Error: undefined identifier A > testx.d(7): Error: not a property test!"a b c" > > An no ice. > > Possibly fixed? Those are some weird errors, but it looks like the ICE is no longer happening. Should I make a new bug report for the errors?