http://d.puremagic.com/issues/show_bug.cgi?id=4329
--- Comment #12 from bearophile_h...@eml.cc 2010-09-09 12:49:36 PDT --- struct Foo { int x; } void main() { Foo(5 ^^ 5); // line 5 } DMD 2.048 shows: test.d(5): Error: must import std.math to use ^^ operator test.d(5): Error: structliteral has no effect in expression (Foo((__error))) --------------------------- void foo() {} void main() { foreach (x; foo()[0 .. 1]) {} } DMD 2.048 shows: test.d(3): Error: foo() cannot be sliced with [] test.d(3): Error: foreach: _error_ is not an aggregate type -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------