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:
parent
dfbf7a2792
commit
f8d4d0ded0
2 changed files with 5 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue