← Back to index
|
Original Bugzilla link
Bug 12947 – @safe std.algorithm.copy
Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2014-06-19T14:10:00Z
Last change time
2014-12-04T21:55:14Z
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2014-06-19T14:10:45Z
void main() @safe { import std.algorithm: copy; int[] a, b; copy(a, b); } dmd 2.066alpha gives: test.d(4): Error: safe function 'D main' cannot call system function 'std.algorithm.copy!(int[], int[]).copy'
Comment #1
by bearophile_hugs — 2014-12-04T21:55:14Z
This seems to work in dmd 2.067alpha.