[Issue 15508] Malloctor `deallocate` allocates in GC

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jan 3 17:36:27 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15508

b2.temp at gmx.com changed:

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

--- Comment #2 from b2.temp at 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- at 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

--


More information about the Digitalmars-d-bugs mailing list