ORC: improvements (#17993)

* ORC: improvements
* ORC: fix .acyclic annotation for ref objects
This commit is contained in:
Andreas Rumpf 2021-05-12 07:15:05 +02:00 • committed by GitHub
commit 39ad9a69a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 12 deletions

View file

@ -742,7 +742,7 @@ proc hash*(x: ItemId): Hash =
type
TIdObj* = object of RootObj
TIdObj* {.acyclic.} = object of RootObj
itemId*: ItemId
PIdObj* = ref TIdObj
@ -841,7 +841,7 @@ type
PInstantiation* = ref TInstantiation
TScope* = object
TScope* {.acyclic.} = object
depthLevel*: int
symbols*: TStrTable
parent*: PScope