mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 18:02:05 +00:00
added gcleak4.nim test; fails in debug mode
This commit is contained in:
@@ -100,8 +100,6 @@ proc usrToCell(usr: pointer): PCell {.inline.} =
|
||||
result = cast[PCell](cast[TAddress](usr)-%TAddress(sizeof(TCell)))
|
||||
|
||||
proc canbeCycleRoot(c: PCell): bool {.inline.} =
|
||||
if c.typ == nil:
|
||||
echo "ARRGHHHHHHH"
|
||||
result = ntfAcyclic notin c.typ.flags
|
||||
|
||||
proc extGetCellType(c: pointer): PNimType {.compilerproc.} =
|
||||
|
||||
Reference in New Issue
Block a user