diff options
Diffstat (limited to 'source/slang/slang-syntax.cpp')
| -rw-r--r-- | source/slang/slang-syntax.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/slang/slang-syntax.cpp b/source/slang/slang-syntax.cpp index 4f05bc936..a79c48227 100644 --- a/source/slang/slang-syntax.cpp +++ b/source/slang/slang-syntax.cpp @@ -1120,7 +1120,6 @@ Index getFilterCountImpl(const ReflectClassInfo& clsInfo, MemberFilterStyle filt return astBuilder->create<NamedExpressionType>(specializedDeclRef); } - FuncType* getFuncType( ASTBuilder* astBuilder, @@ -1133,7 +1132,7 @@ Index getFilterCountImpl(const ReflectClassInfo& clsInfo, MemberFilterStyle filt for (auto paramDeclRef : getParameters(declRef)) { auto paramDecl = paramDeclRef.getDecl(); - auto paramType = getType(astBuilder, paramDeclRef); + auto paramType = getParamType(astBuilder, paramDeclRef); if( paramDecl->findModifier<RefModifier>() ) { paramType = astBuilder->getRefType(paramType); |
