mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Diallowed unbound generics for 'is'
This commit is contained in:
parent
85b4afcd94
commit
b53089a3e4
1 changed files with 1 additions and 1 deletions
|
@ -8885,7 +8885,7 @@ void BfExprEvaluator::Visit(BfCheckTypeExpression* checkTypeExpr)
|
|||
if (autoComplete != NULL)
|
||||
autoComplete->CheckTypeRef(checkTypeExpr->mTypeRef, false, true);
|
||||
|
||||
auto targetType = mModule->ResolveTypeRefAllowUnboundGenerics(checkTypeExpr->mTypeRef);
|
||||
auto targetType = mModule->ResolveTypeRef(checkTypeExpr->mTypeRef);
|
||||
if (!targetType)
|
||||
{
|
||||
mModule->AssertErrorState();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue