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:
parent
cd1e65231e
commit
cf5c969d1f
15 changed files with 243 additions and 99 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue