From 941f07040a505f1f673c96da959bde839c629aba Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 11 Dec 2024 13:34:54 -0800 Subject: Fix attribute reflection. (#5823) * Fix attribute reflection. * Fix. * Fix. --- tools/slang-unit-test/unit-test-decl-tree-reflection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/slang-unit-test/unit-test-decl-tree-reflection.cpp') diff --git a/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp b/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp index 2ceb9981b..512be9be5 100644 --- a/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp +++ b/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp @@ -178,7 +178,7 @@ SLANG_UNIT_TEST(declTreeReflection) SLANG_CHECK(result == SLANG_OK); SLANG_CHECK(val == 1024); SLANG_CHECK( - funcReflection->findUserAttributeByName(globalSession.get(), "MyFuncProperty") == + funcReflection->findAttributeByName(globalSession.get(), "MyFuncProperty") == userAttribute); } -- cgit v1.2.3