November 15, 2017 [Issue 17866] Appender.put is not @safe | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17866 Basile B. <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |b2.temp@gmx.com Resolution|--- |INVALID --- Comment #1 from Basile B. <b2.temp@gmx.com> --- "put" safety in inferred so this issue can be trivially proven wrong: void main() @safe { import std.array : Appender; Appender!(ubyte[]) a; a.put([ubyte(0)]); } Reopen with a proper test case if any. In the meantime is assumed that you must called "put" with the result of an unsafe function. -- | ||||
March 21, 2020 [Issue 17866] Appender.put is not @safe | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17866 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply