https://d.puremagic.com/issues/show_bug.cgi?id=11955
yebblies <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid CC| |[email protected] Platform|x86 |All AssignedTo|[email protected] |[email protected] Summary|win32 foreach "size_t" |Aliased types not accepted |degrades to "uint" |in foreach over range of | |tuple OS/Version|Windows |All Severity|blocker |normal --- Comment #3 from yebblies <[email protected]> 2014-01-21 01:04:02 EST --- struct T11955(T...) { T field; alias field this; } alias X11955 = uint; struct S11955 { enum empty = false; T11955!(uint, uint) front; void popFront() {} } void main() { foreach(X11955 i, v; S11955()) {} } The argument type 'X11955' has not had semantic run on it, so checking the implicit conversion from agg.front[0] to it fails. https://github.com/D-Programming-Language/dmd/pull/3127 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
