diff options
| author | Yong He <yonghe@outlook.com> | 2017-12-28 07:18:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-28 07:18:27 -0500 |
| commit | bcfe8366d2f094bfabccc0014c7248bc46dbf514 (patch) | |
| tree | 73ea3653ef9b9c98b1bc286e904d037c77d63074 /source/slang/syntax-base-defs.h | |
| parent | 7e340c29dfc0ca2f9ebb0189b698a9987da9c50c (diff) | |
| parent | d46aeb030fa76854d2e7e64a25849b887defe4da (diff) | |
Merge pull request #340 from csyonghe/struct-in-generic
Fix NameExprType returning deleted canonical type when it's in a generic parent
Diffstat (limited to 'source/slang/syntax-base-defs.h')
| -rw-r--r-- | source/slang/syntax-base-defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/syntax-base-defs.h b/source/slang/syntax-base-defs.h index fdb2694a9..1853125a8 100644 --- a/source/slang/syntax-base-defs.h +++ b/source/slang/syntax-base-defs.h @@ -121,6 +121,7 @@ protected: virtual Type* CreateCanonicalType() = 0; Type* canonicalType = nullptr; + RefPtr<Type> canonicalTypeRefPtr; Session* session = nullptr; ) |
