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

Fixed accidental const binary op resolution in generic constraint check

This commit is contained in:
Brian Fiete 2025-05-29 06:48:58 +02:00
parent 864b9252ea
commit 6f35d484b1
2 changed files with 12 additions and 0 deletions

View file

@ -458,6 +458,7 @@ public:
bool IsComptime();
bool IsConstEval();
bool IsComptimeEntry();
void EnsureResultNotConstant();
int GetStructRetIdx(BfMethodInstance* methodInstance, bool forceStatic = false);
BfTypedValue SetupNullConditional(BfTypedValue target, BfTokenNode* dotToken);
void Evaluate(BfAstNode* astNode, bool propogateNullConditional = false, bool ignoreNullConditional = false, bool allowSplat = true);