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

Const generic param method selector fix

This commit is contained in:
Brian Fiete 2022-08-23 12:39:26 -07:00
parent 77a99bdacc
commit f520932516

View file

@ -865,7 +865,7 @@ void BfMethodMatcher::CompareMethods(BfMethodInstance* prevMethodInstance, BfTyp
} }
if (paramType->IsConstExprValue()) if (paramType->IsConstExprValue())
{ {
prevParamWasConstExpr = true; paramWasConstExpr = true;
paramType = ((BfConstExprValueType*)paramType)->mType; paramType = ((BfConstExprValueType*)paramType)->mType;
} }