Fixes #12832 (#12842) [backport]

* Fix #12832
* nimVm -> nimvm in json.nim
* Use suggestSym() instead of markUsed(); Also use styleCheckUse() for finding style violations
This commit is contained in:
Neelesh Chandola
2019-12-09 03:57:25 +05:30
committed by Andreas Rumpf
parent 73dd348ddd
commit ff5ef95414
2 changed files with 6 additions and 1 deletions

View File

@@ -1135,7 +1135,7 @@ when defined(nimFixedForwardGeneric):
when defined js:
`tmpSym`.`kindSym` = kindTmp
else:
when nimVm:
when nimvm:
`tmpSym`.`kindSym` = kindTmp
else:
# fuck it, assign kind field anyway