Renamed -d:nimCompilerStackraceHints to -d:nimCompilerStacktraceHints. (#18283)
This commit is contained in:
parent
99411674a6
commit
c83ac16671
4 changed files with 7 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue