mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Support for matching interface conformance in distinct build options
This commit is contained in:
parent
6cb1235fd6
commit
0b20ef867b
6 changed files with 87 additions and 25 deletions
|
@ -13051,8 +13051,14 @@ BfTypedValue BfExprEvaluator::MakeCallableTarget(BfAstNode* targetSrc, BfTypedVa
|
|||
}
|
||||
else if (primStructType->IsSplattable())
|
||||
{
|
||||
BF_ASSERT(target.IsSplat());
|
||||
target.mKind = BfTypedValueKind_SplatHead;
|
||||
BF_ASSERT(target.IsSplat() || target.mValue.IsFake());
|
||||
if (target.IsSplat())
|
||||
target.mKind = BfTypedValueKind_SplatHead;
|
||||
else
|
||||
{
|
||||
if (!target.mValue.IsFake())
|
||||
mModule->FailInternal("MakeCallableTarget splat fail", targetSrc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue