This commit is contained in:
Araq 2020-03-10 10:39:43 +01:00 • committed by Andreas Rumpf
commit 861a5340fe
7 changed files with 37 additions and 7 deletions

View file

@ -592,8 +592,11 @@ const
tfReturnsNew* = tfInheritable
skError* = skUnknown
# type flags that are essential for type equality:
eqTypeFlags* = {tfIterator, tfNotNil, tfVarIsPtr}
var
eqTypeFlags* = {tfIterator, tfNotNil, tfVarIsPtr, tfGcSafe, tfNoSideEffect}
## type flags that are essential for type equality.
## This is now a variable because for emulation of version:1.0 we
## might exclude {tfGcSafe, tfNoSideEffect}.
type
TMagic* = enum # symbols that require compiler magic: