mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 12:54:15 +02:00
Fix for attributes with string parameters with default values
This commit is contained in:
parent
0f11c36da8
commit
b24625d9a3
1 changed files with 2 additions and 0 deletions
|
@ -221,6 +221,8 @@ bool BfConstResolver::PrepareMethodArguments(BfAstNode* targetSrc, BfMethodMatch
|
||||||
|
|
||||||
int extendedParamIdx = 0;
|
int extendedParamIdx = 0;
|
||||||
|
|
||||||
|
SetAndRestoreValue<bool> ignoreWrites(mModule->mBfIRBuilder->mIgnoreWrites, true);
|
||||||
|
|
||||||
llvm::SmallVector<BfIRValue, 4> expandedParamsConstValues;
|
llvm::SmallVector<BfIRValue, 4> expandedParamsConstValues;
|
||||||
BfType* expandedParamsElementType = NULL;
|
BfType* expandedParamsElementType = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue