1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Linux fix

This commit is contained in:
Brian Fiete 2019-11-27 08:55:00 -08:00
parent 38dd2cc183
commit ba01bbb8f7

View file

@ -2276,7 +2276,7 @@ void BfModule::HandleCaseEnumMatch_Tuple(BfTypedValue tupleVal, const BfSizedArr
BfTypedValue BfModule::TryCaseTupleMatch(BfTypedValue tupleVal, BfTupleExpression* tupleExpr, BfIRBlock* eqBlock, BfIRBlock* notEqBlock, BfIRBlock* matchBlock, bool& hadConditional, bool clearOutOnMismatch)
{
if (!tupleVal.mType->IsTuple())
return false;
return BfTypedValue();
auto tupleType = (BfTupleType*)tupleVal.mType;