fix typo in codeReordering error msg (#10667)

* fix typo in codeReordering

* reorder=>codeReordering
This commit is contained in:
Timothee Cour 2019-02-14 00:52:15 -08:00 • committed by Andreas Rumpf
commit 9913cef872
2 changed files with 2 additions and 2 deletions

View file

@ -212,7 +212,7 @@ proc mergeSections(conf: ConfigRef; comps: seq[seq[DepN]], res: PNode) =
# Problematic circular dependency, we arrange the nodes into
# their original relative order and make sure to re-merge
# consecutive type and const sections
var wmsg = "Circular dependency detected. reorder pragma may not be able to" &
var wmsg = "Circular dependency detected. `codeReordering` pragma may not be able to" &
" reorder some nodes properely"
when defined(debugReorder):
wmsg &= ":\n"