mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Properly allow inferred ctor for typed primitives
This commit is contained in:
parent
cba96f74ab
commit
d7d6559043
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue