1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Struct cast fix, deferred block fix

This commit is contained in:
Brian Fiete 2019-12-13 14:22:23 -08:00
parent 2fb4b14e50
commit 8b17718fed
8 changed files with 82 additions and 18 deletions

View file

@ -250,12 +250,14 @@ void BfSourceClassifier::Visit(BfThisExpression* thisExpr)
{
HandleLeafNode(thisExpr);
Visit((BfAstNode*)thisExpr);
SetElementType(thisExpr, BfSourceElementType_Keyword);
}
void BfSourceClassifier::Visit(BfBaseExpression* baseExpr)
{
HandleLeafNode(baseExpr);
Visit((BfAstNode*)baseExpr);
SetElementType(baseExpr, BfSourceElementType_Keyword);
}
void BfSourceClassifier::Visit(BfMemberReferenceExpression* memberRefExpr)