From 3666c66e26f90b10031578e9c8b8f2ea118aecf9 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 17 Jan 2025 08:55:57 -0800 Subject: Fix prebound parameter pack - argument list matching logic. (#6111) * Fix prebound parameter pack - argument list matching logic. * Move tests. * Fix. --- source/slang/slang-ast-decl-ref.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-ast-decl-ref.cpp') diff --git a/source/slang/slang-ast-decl-ref.cpp b/source/slang/slang-ast-decl-ref.cpp index 3025381ea..9f140a524 100644 --- a/source/slang/slang-ast-decl-ref.cpp +++ b/source/slang/slang-ast-decl-ref.cpp @@ -318,7 +318,7 @@ void DeclRefBase::toText(StringBuilder& out) return; } - if (as(this->getDecl())) + if (as(this->getDecl())) { SLANG_ASSERT(as(this)); out << this->getDecl()->getName()->text; -- cgit v1.2.3