1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Properly throw error on Dispose call on using for immutable values

This commit is contained in:
Brian Fiete 2019-09-29 07:43:36 -07:00
parent dfbf7a2792
commit f8d4d0ded0
2 changed files with 5 additions and 7 deletions

View file

@ -219,6 +219,7 @@ public:
BfIRValue mFunc;
BfMethodInstance* mMethodInstance;
bool mSkipThis;
bool mSkipMutCheck;
bool mWantsArgs;
bool mCheckedMultipleMethods;
SizedArray<BfIRValue, 2> mIRArgs;
@ -227,6 +228,7 @@ public:
BfFunctionBindResult()
{
mMethodInstance = NULL;
mSkipMutCheck = false;
mWantsArgs = false;
mSkipThis = false;
mCheckedMultipleMethods = false;