From 582d10d5e160afeac11b2ba5a5ba1698e4935cef Mon Sep 17 00:00:00 2001 From: kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> Date: Thu, 31 Oct 2024 14:29:11 -0500 Subject: 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 --- source/slang/slang-check-decl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang') 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(decl) || as(decl) || + if (as(decl) || as(decl) || as(decl)) { auto genericDecl = as(decl->parentDecl); -- cgit v1.2.3