Skip to content

Commit d57414e

Browse files
committed
Fix error.
1 parent c29241d commit d57414e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/slang/slang-check-expr.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -5029,7 +5029,8 @@ Expr* SemanticsExprVisitor::visitMemberExpr(MemberExpr* expr)
50295029
return CheckSwizzleExpr(expr, baseScalarType, 1);
50305030
}
50315031
}
5032-
else if (as<NamespaceType>(baseType))
5032+
5033+
if (as<NamespaceType>(baseType))
50335034
{
50345035
return _lookupStaticMember(expr, expr->baseExpression);
50355036
}

0 commit comments

Comments
 (0)