summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-parser.cpp')
-rw-r--r--source/slang/slang-parser.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/slang/slang-parser.cpp b/source/slang/slang-parser.cpp
index 5f9d5fbc4..b8310451c 100644
--- a/source/slang/slang-parser.cpp
+++ b/source/slang/slang-parser.cpp
@@ -1021,7 +1021,9 @@ namespace Slang
parser->astBuilder,
nullptr, // no semantics visitor available yet
name,
- parser->currentScope);
+ parser->currentScope,
+ LookupMask::Default,
+ true);
// If we didn't find anything, or the result was overloaded,
// then we aren't going to be able to extract a single decl.