mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Added support for const string generic args
This commit is contained in:
parent
361be9dc92
commit
a87ccd299d
5 changed files with 63 additions and 5 deletions
|
@ -1617,8 +1617,8 @@ BfLocalVariable* BfModule::HandleVariableDeclaration(BfVariableDeclaration* varD
|
|||
// isConst = false;
|
||||
// initHandled = true;
|
||||
// localDef->mValue = initValue.mValue;
|
||||
|
||||
isConst = false;
|
||||
if (GetStringPoolIdx(initValue.mValue, mBfIRBuilder) == -1)
|
||||
isConst = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue