From dd3d80e61b316390a468a142de2be2fb85b73d0d Mon Sep 17 00:00:00 2001 From: Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:27:50 -0400 Subject: Allow lookups of overloaded methods. (#5110) * Allow lookups of overloaded methods. * Update slang-reflection-api.cpp * Update slang.cpp --------- Co-authored-by: Yong He --- source/slang/slang-compiler.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/slang/slang-compiler.h') diff --git a/source/slang/slang-compiler.h b/source/slang/slang-compiler.h index 4b20d1f76..820cab03f 100755 --- a/source/slang/slang-compiler.h +++ b/source/slang/slang-compiler.h @@ -420,11 +420,11 @@ namespace Slang String const& typeStr, DiagnosticSink* sink); - DeclRef findDeclFromString( + Expr* findDeclFromString( String const& name, DiagnosticSink* sink); - DeclRef findDeclFromStringInType( + Expr* findDeclFromStringInType( Type* type, String const& name, LookupMask mask, @@ -576,7 +576,7 @@ namespace Slang Dictionary m_types; // Any decls looked up dynamically using `findDeclFromString`. - Dictionary> m_decls; + Dictionary m_decls; Scope* m_lookupScope = nullptr; std::unique_ptr> m_mapMangledNameToIntVal; @@ -2174,7 +2174,7 @@ namespace Slang DiagnosticSink* sink); DeclRef specializeWithArgTypes( - DeclRef funcDeclRef, + Expr* funcExpr, List argTypes, DiagnosticSink* sink); -- cgit v1.2.3