Renamed -d:nimCompilerStackraceHints to -d:nimCompilerStacktraceHints. (#18283)

This commit is contained in:
Timothee Cour 2021-06-17 00:17:46 -07:00 • committed by GitHub
commit c83ac16671
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

View file

@ -10,7 +10,7 @@
# this module does the semantic checking for expressions
# included from sem.nim
when defined(nimCompilerStackraceHints):
when defined(nimCompilerStacktraceHints):
import std/stackframes
const
@ -2714,7 +2714,7 @@ proc getNilType(c: PContext): PType =
c.nilTypeCache = result
proc semExpr(c: PContext, n: PNode, flags: TExprFlags = {}): PNode =
when defined(nimCompilerStackraceHints):
when defined(nimCompilerStacktraceHints):
setFrameMsg c.config$n.info & " " & $n.kind
result = n
if c.config.cmd == cmdIdeTools: suggestExpr(c, n)