test removing dollar for objects out of system (#20242)

* test removing dollar for objects out of system

* test & fixes

* fix bootstrap

* use nimPreviewSlimSystem, test stdlib category

* fix test
This commit is contained in:
metagn 2022-08-24 10:44:16 +03:00 • committed by GitHub
commit b8dc58d884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 84 additions and 40 deletions

View file

@ -11,6 +11,9 @@ import os, tables, strutils, times, heapqueue, options, deques, cstrutils
import system/stacktraces
when defined(nimPreviewSlimSystem):
import std/objectdollar # for StackTraceEntry
# TODO: This shouldn't need to be included, but should ideally be exported.
type
CallbackFunc = proc () {.closure, gcsafe.}