system.nim cleanup some exported constants which should never have be… (#17909)

* system.nim cleanup some exported constants which should never have been exported
This commit is contained in:
Andreas Rumpf 2021-05-01 11:10:40 +02:00 • committed by GitHub
commit fb86271556
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 32 additions and 29 deletions

View file

@ -146,7 +146,7 @@ proc closureIterSetupExc(e: ref Exception) {.compilerproc, inline.} =
# some platforms have native support for stack traces:
const
nativeStackTraceSupported* = (defined(macosx) or defined(linux)) and
nativeStackTraceSupported = (defined(macosx) or defined(linux)) and
not NimStackTrace
hasSomeStackTrace = NimStackTrace or defined(nimStackTraceOverride) or
(defined(nativeStackTrace) and nativeStackTraceSupported)