mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Deleted type protection in EmitGCMarkValue, RequestExtraCompile feature
This commit is contained in:
parent
6e0cabf8aa
commit
471897a150
6 changed files with 81 additions and 1 deletions
|
@ -5646,6 +5646,7 @@ BfTypedValue BfExprEvaluator::LoadField(BfAstNode* targetSrc, BfTypedValue targe
|
|||
|
||||
if (fieldInstance->mDataIdx < 0)
|
||||
{
|
||||
mModule->mCompiler->RequestExtraCompile();
|
||||
mModule->InternalError("LoadField field DataIdx<0 where InstSize>0");
|
||||
mModule->DeferRebuildType(typeInstance);
|
||||
return mModule->GetDefaultTypedValue(resolvedFieldType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue