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

Improvements to const string generic arg, literal generic args

This commit is contained in:
Brian Fiete 2022-02-05 09:23:44 -05:00
parent cd1e65231e
commit cf5c969d1f
15 changed files with 243 additions and 99 deletions

View file

@ -671,7 +671,7 @@ public:
bool IsStatic() const
{
return !mValue;
return (!mValue) && (mKind != BfTypedValueKind_GenericConstValue);
}
bool IsAddr() const
@ -2948,7 +2948,7 @@ public:
BF_AST_TYPE(BfGenericArgumentsNode, BfAstNode);
ASTREF(BfTokenNode*) mOpenChevron;
BfSizedArray<ASTREF(BfTypeReference*)> mGenericArgs;
BfSizedArray<ASTREF(BfAstNode*)> mGenericArgs;
BfSizedArray<ASTREF(BfAstNode*)> mCommas;
ASTREF(BfTokenNode*) mCloseChevron;
}; BF_AST_DECL(BfGenericArgumentsNode, BfAstNode);