mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Improved error for calling ptr to ref type. Fixed properties on ptr
This commit is contained in:
parent
1bd94d7a52
commit
53337c7c50
2 changed files with 19 additions and 4 deletions
|
@ -1335,8 +1335,8 @@ void BfContext::SaveDeletingType(BfType* type)
|
|||
}
|
||||
else
|
||||
{
|
||||
savedTypeData = *savedTypeDataPtr;
|
||||
BF_DBG_FATAL("mSavedTypeData already had type name");
|
||||
// This can happen if we have a conflicting type definition
|
||||
savedTypeData = *savedTypeDataPtr;
|
||||
}
|
||||
savedTypeData->mTypeId = type->mTypeId;
|
||||
while ((int)mSavedTypeData.size() <= savedTypeData->mTypeId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue