mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 18:18:00 +02:00
Fixed const eval issues with generics
This commit is contained in:
parent
abd883212f
commit
301f9eb1c1
3 changed files with 63 additions and 16 deletions
|
@ -1655,7 +1655,6 @@ BfLocalVariable* BfModule::HandleVariableDeclaration(BfVariableDeclaration* varD
|
|||
initValue = constResolver.Resolve(varDecl->mInitializer, resolvedType, BfConstResolveFlag_RemapFromStringId);
|
||||
if (!initValue)
|
||||
initValue = GetDefaultTypedValue(resolvedType);
|
||||
|
||||
}
|
||||
else if (varDecl->mInitializer->IsA<BfUninitializedExpression>())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue