diff options
| author | Yong He <yongh@outlook.com> | 2018-01-03 12:38:48 -0800 |
|---|---|---|
| committer | Yong He <yongh@outlook.com> | 2018-01-03 12:38:48 -0800 |
| commit | f52b93e15d68054a06db84ff86d077d9ce0af941 (patch) | |
| tree | fc3089b5f591d7277e5aa0d80b6a6bf194bbf12a /source | |
| parent | 1e0aabf4b28f48bfbfee7b1a9c08031892c004d0 (diff) | |
add call to `EnsureDecl` in `SpecializeGenericForOverload`.
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/check.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/check.cpp b/source/slang/check.cpp index bc5d144b0..dc5efbd73 100644 --- a/source/slang/check.cpp +++ b/source/slang/check.cpp @@ -5348,6 +5348,8 @@ namespace Slang DeclRef<GenericDecl> genericDeclRef, OverloadResolveContext& context) { + EnsureDecl(genericDeclRef.getDecl()); + ConstraintSystem constraints; constraints.genericDecl = genericDeclRef.getDecl(); |
