Thread overview
[Issue 15508] Malloctor `deallocate` allocates in GC
Jan 04, 2016
b2.temp@gmx.com
Jan 04, 2016
b2.temp@gmx.com
Mar 21, 2020
Basile-z
January 04, 2016
https://issues.dlang.org/show_bug.cgi?id=15508

b2.temp@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com

--- Comment #1 from b2.temp@gmx.com ---
(In reply to Илья Ярошенко from comment #0)
> std\experimental\allocator\mallocator.d(277): Error: @nogc function 'std.experimental.allocator.mallocator.AlignedMallocator.alignedReallocate' cannot call non-@nogc function 'std.experimental.allocator.mallocator.AlignedMallocator.deallocate'

on master or 2.070 beta 1 ?

yet it is well taged @nogc

https://github.com/D-Programming-Language/phobos/blob/master/std/experimental/allocator/mallocator.d#L243

--
January 04, 2016
https://issues.dlang.org/show_bug.cgi?id=15508

b2.temp@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from b2.temp@gmx.com ---
(In reply to b2.temp from comment #1)
> (In reply to Илья Ярошенко from comment #0)
> > std\experimental\allocator\mallocator.d(277): Error: @nogc function 'std.experimental.allocator.mallocator.AlignedMallocator.alignedReallocate' cannot call non-@nogc function 'std.experimental.allocator.mallocator.AlignedMallocator.deallocate'
> 
> on master or 2.070 beta 1 ?
> 
> yet it is well taged @nogc
> 
> https://github.com/D-Programming-Language/phobos/blob/master/std/ experimental/allocator/mallocator.d#L243

Sorry for the noise, I've just seen it's it's been fixed 10 hours ago:

https://github.com/D-Programming-Language/phobos/pull/3898

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=15508

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--