diff options
Diffstat (limited to 'source/slang/slang-ast-decl-ref.cpp')
| -rw-r--r-- | source/slang/slang-ast-decl-ref.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-ast-decl-ref.cpp b/source/slang/slang-ast-decl-ref.cpp index f3c237775..6087efb26 100644 --- a/source/slang/slang-ast-decl-ref.cpp +++ b/source/slang/slang-ast-decl-ref.cpp @@ -419,6 +419,10 @@ GenericAppDeclRef* SubstitutionSet::findGenericAppDeclRef() const { return genApp; } + else if (as<LookupDeclRef>(s)) + { + return nullptr; + } } return nullptr; } |
