diff options
| author | kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> | 2024-10-31 14:29:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 12:29:11 -0700 |
| commit | 582d10d5e160afeac11b2ba5a5ba1698e4935cef (patch) | |
| tree | 332476ddfa2d0978307a40248acee3084c2a3584 /source/slang/slang-check-decl.cpp | |
| parent | 0f68de95b68510806598b17cba3b63cda429e199 (diff) | |
Add function of getting hash string to wasm binding (#5468)
* [wasm]: Add function to get string from hash
* Fix bug on the visibility issue
* Formatting
Diffstat (limited to 'source/slang/slang-check-decl.cpp')
| -rw-r--r-- | source/slang/slang-check-decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp index 5b3f692be..ba91bbefa 100644 --- a/source/slang/slang-check-decl.cpp +++ b/source/slang/slang-check-decl.cpp @@ -12168,7 +12168,7 @@ void SemanticsDeclCapabilityVisitor::visitInheritanceDecl(InheritanceDecl* inher DeclVisibility getDeclVisibility(Decl* decl) { - if (as<GenericTypeParamDecl>(decl) || as<GenericValueParamDecl>(decl) || + if (as<GenericTypeParamDeclBase>(decl) || as<GenericValueParamDecl>(decl) || as<GenericTypeConstraintDecl>(decl)) { auto genericDecl = as<GenericDecl>(decl->parentDecl); |
