http://d.puremagic.com/issues/show_bug.cgi?id=7318
Summary: Cannot concatenate arrays of super- and subtype Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 2012-01-19 01:57:30 PST --- The recent fixes regarding array covariance had some side-effects: void main(){ auto a = [new Object()]; auto b = [new Exception("")]; auto y = a~b; // error } This code should still work, even though Exception[] does not implicitly convert to Object[] anymore. (the code works if a is declared const) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------