http://d.puremagic.com/issues/show_bug.cgi?id=7518
Summary: Regression(2.058): std.parallelism.parallel fails with shared array of strings Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: rob...@octarineparrot.com --- Comment #0 from Robert Clipsham <rob...@octarineparrot.com> 2012-02-16 15:12:45 GMT --- The following code: ---- import std.parallelism; shared string[] options; void main() { foreach(option; parallel(options)) { } } ---- Worked with dmd 2.057 but fails with dmd 2.058, with the errors: ---- /Users/robert/.dvm/compilers/dmd-2.058/bin/../src/phobos/std/parallelism.d(3858): Error: template std.array.empty(T) does not match any function template declaration /Users/robert/.dvm/compilers/dmd-2.058/bin/../src/phobos/std/parallelism.d(3858): Error: template std.array.empty(T) cannot deduce template function from argument types !()(shared(immutable(char)[][])) ---- Tested on OS X and Linux. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------