mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed attributed indexer expression
This commit is contained in:
parent
4ee40c8a06
commit
25a7d5fed1
2 changed files with 7 additions and 4 deletions
|
@ -10826,8 +10826,10 @@ BfIRValue BfModule::CastToValue(BfAstNode* srcNode, BfTypedValue typedVal, BfTyp
|
|||
{
|
||||
auto svTypeInst = toType->ToTypeInstance();
|
||||
|
||||
mBfIRBuilder->PopulateType(svTypeInst);
|
||||
|
||||
PopulateType(svTypeInst);
|
||||
PopulateType(svTypeInst->mBaseType);
|
||||
mBfIRBuilder->PopulateType(svTypeInst);
|
||||
|
||||
auto stringCharPtr = GetStringCharPtr(stringId);
|
||||
SizedArray<BfIRValue, 2> spanFieldVals;
|
||||
spanFieldVals.Add(mBfIRBuilder->CreateConstStructZero(mBfIRBuilder->MapType(svTypeInst->mBaseType->mBaseType)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue