diff options
| author | Yong He <yonghe@outlook.com> | 2025-01-17 08:55:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-17 08:55:57 -0800 |
| commit | 3666c66e26f90b10031578e9c8b8f2ea118aecf9 (patch) | |
| tree | a9564b3becf23d17b3183d97689c126819ffce9e /source/slang/slang-ast-decl-ref.cpp | |
| parent | dfb369e87dd7638e84efe8feb9e7069e5238b44c (diff) | |
Fix prebound parameter pack - argument list matching logic. (#6111)
* Fix prebound parameter pack - argument list matching logic.
* Move tests.
* Fix.
Diffstat (limited to 'source/slang/slang-ast-decl-ref.cpp')
| -rw-r--r-- | source/slang/slang-ast-decl-ref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<GenericTypeParamDecl>(this->getDecl())) + if (as<GenericTypeParamDeclBase>(this->getDecl())) { SLANG_ASSERT(as<DirectDeclRef>(this)); out << this->getDecl()->getName()->text; |
