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

Properly allow inferred ctor for typed primitives

This commit is contained in:
Brian Fiete 2022-07-01 08:13:58 -07:00
parent cba96f74ab
commit d7d6559043

View file

@ -17603,7 +17603,7 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m
}
}
}
else if (expectingType->IsStruct())
else if ((expectingType->IsStruct()) || (expectingType->IsTypedPrimitive()))
{
if ((wasCapturingMethodInfo) && (autoComplete->mMethodMatchInfo != NULL))
{