new feature: --staticBoundChecks:on to enforce static array index checking (#10965)
This commit is contained in:
parent
ed263e174e
commit
3f29911a94
16 changed files with 152 additions and 50 deletions
|
|
@ -74,6 +74,7 @@ proc sameTree*(a, b: PNode): bool =
|
|||
result = true
|
||||
|
||||
proc getMagic*(op: PNode): TMagic =
|
||||
if op == nil: return mNone
|
||||
case op.kind
|
||||
of nkCallKinds:
|
||||
case op[0].kind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue