http://d.puremagic.com/issues/show_bug.cgi?id=7518


David Simcha <dsim...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsim...@yahoo.com
            Summary|Regression(2.058):          |std.array.empty doesn't
                   |std.parallelism.parallel    |work for shared arrays
                   |fails with shared array of  |
                   |strings                     |


--- Comment #1 from David Simcha <dsim...@yahoo.com> 2012-02-16 07:18:28 PST ---
The root cause has nothing to do with std.parallelism.  empty() should work for
shared arrays.

import std.array;

void main() {
    shared string[] stuff;
    stuff.empty;
}

test.d(5): Error: template std.array.empty(T) does not match any function
template declaration
test.d(5): Error: template std.array.empty(T) cannot deduce template function
from argument types !()(shared(immutable(char)[][]))

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to