mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed CRTP - deferred validating base class generic constraints
This commit is contained in:
parent
37ac89765f
commit
b597b444ab
2 changed files with 58 additions and 54 deletions
|
@ -13245,7 +13245,7 @@ void BfModule::EmitDefaultReturn()
|
|||
}
|
||||
|
||||
void BfModule::AssertErrorState()
|
||||
{
|
||||
{
|
||||
if (mIgnoreErrors)
|
||||
return;
|
||||
if (mHadBuildError)
|
||||
|
@ -13285,6 +13285,10 @@ void BfModule::AssertErrorState()
|
|||
if ((mCurMethodState != NULL) && (mCurMethodState->mMixinState != NULL) && (mCurMethodState->mMixinState->mMixinMethodInstance->mMethodDef->mDeclaringType->mSource->mParsingFailed))
|
||||
return;
|
||||
}
|
||||
|
||||
if (mCompiler->IsAutocomplete())
|
||||
return;
|
||||
|
||||
BF_ASSERT(mCompiler->mPassInstance->HasFailed());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue