1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed step out in disassembly

This commit is contained in:
Brian Fiete 2020-02-20 09:31:06 -08:00
parent 07fd22f9e0
commit ace51cb7be
5 changed files with 16 additions and 84 deletions

View file

@ -1135,16 +1135,6 @@ BfLocalVariable* BfModule::HandleVariableDeclaration(BfVariableDeclaration* varD
if (bfAutocomplete != NULL)
bfAutocomplete->CheckTypeRef(varDecl->mTypeRef, true, true);
// if (varDecl->mNameNode == NULL)
// {
// // Minimum parsing requirements
// auto resolvedType = ResolveTypeRef(varDecl->mTypeRef);
// if (resolvedType != NULL)
// AddDependency(resolvedType, mCurTypeInstance, BfDependencyMap::DependencyFlag_LocalUsage);
// AssertErrorState();
// return NULL;
// }
bool isConst = (varDecl->mModSpecifier != NULL) && (varDecl->mModSpecifier->GetToken() == BfToken_Const);
bool isReadOnly = (varDecl->mModSpecifier != NULL) && (varDecl->mModSpecifier->GetToken() == BfToken_ReadOnly);