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

--- Comment #0 from Robert Clipsham <> 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:
Error: template std.array.empty(T) does not match any function template
Error: template std.array.empty(T) cannot deduce template function from
argument types !()(shared(immutable(char)[][]))
Tested on OS X and Linux.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to