May 25, 2014 [Issue 11448] `dup` calls @system impure code from @safe pure function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11448 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> --- The issues is fixed in git-head (2.066a), by implementing 'dup' function in druntime. test.d(7): Error: pure function 'D main' cannot call impure function 'object.dup!(S).dup' test.d(7): Error: safe function 'D main' cannot call system function 'object.dup!(S).dup' -- |
Copyright © 1999-2021 by the D Language Foundation