1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Throws error on duplicate tuple field name

This commit is contained in:
Brian Fiete 2020-10-13 10:32:56 -07:00
parent 640a20c961
commit f1b685b4c7
3 changed files with 31 additions and 3 deletions

View file

@ -1017,8 +1017,9 @@ void BfContext::RebuildType(BfType* type, bool deleteOnDemandTypes, bool rebuild
typeInst->mTypeWarned = false;
typeInst->mIsSplattable = false;
typeInst->mHasUnderlyingArray = false;
typeInst->mHasPackingHoles = false;
typeInst->mHasPackingHoles = false;
typeInst->mWantsGCMarking = false;
typeInst->mHasDeclError = false;
delete typeInst->mTypeInfoEx;
typeInst->mTypeInfoEx = NULL;