Fix the problem where instances of generic objects with sendable pragmas are not being cached (#22622)

remove `tfSendable` from `eqTypeFlags`
This commit is contained in:
Pylgos
2023-09-02 13:00:26 +09:00
committed by GitHub
parent 2542dc09c8
commit 9f1fe8a2da

View File

@@ -641,7 +641,7 @@ const
skError* = skUnknown
var
eqTypeFlags* = {tfIterator, tfNotNil, tfVarIsPtr, tfGcSafe, tfNoSideEffect, tfIsOutParam, tfSendable}
eqTypeFlags* = {tfIterator, tfNotNil, tfVarIsPtr, tfGcSafe, tfNoSideEffect, tfIsOutParam}
## 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}.