Skip to content

Commit 38c5712

Browse files
zevvIco Doornekamp
authored andcommitted
Revert "goGc now uses .error to report unimplemented calls". This breaks
CI This reverts commit 53c89ee.
1 parent 0eb6691 commit 38c5712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/system/mmdisp.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ elif defined(gogc):
273273
result = goMalloc(size.uint)
274274
275275
proc realloc(p: pointer, newsize: Natural): pointer =
276-
{.error:"not implemented".}
276+
doAssert false, "not implemented"
277277
278278
proc realloc0(p: pointer, oldsize, newsize: Natural): pointer =
279-
{.error:"not implemented".}
279+
doAssert false, "not implemented"
280280
281281
proc dealloc(p: pointer) =
282282
discard

0 commit comments

Comments
 (0)