diff options
| author | Yong He <yonghe@outlook.com> | 2018-01-09 10:50:44 -0800 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-01-09 10:50:44 -0800 |
| commit | 8daafcc2e4bf7b2dfb66d7a3b7ac60c86b2d926c (patch) | |
| tree | b7fac301e3c4d1b006af70584feeb45af191aab6 /source/slang/syntax-base-defs.h | |
| parent | 3d435f7321c3f9241d33a0f7521573f21b548186 (diff) | |
bruteforce implementation of witness table resolution for associated (#358)
Diffstat (limited to 'source/slang/syntax-base-defs.h')
| -rw-r--r-- | source/slang/syntax-base-defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/syntax-base-defs.h b/source/slang/syntax-base-defs.h index 1853125a8..de8b294d8 100644 --- a/source/slang/syntax-base-defs.h +++ b/source/slang/syntax-base-defs.h @@ -180,7 +180,6 @@ END_SYNTAX_CLASS() SYNTAX_CLASS(ThisTypeSubstitution, Substitutions) // The actual type that provides the lookup scope for an associated type SYNTAX_FIELD(RefPtr<Val>, sourceType) - RAW( // Apply a set of substitutions to the bindings in this substitution virtual RefPtr<Substitutions> SubstituteImpl(Substitutions* subst, int* ioDiff) override; @@ -193,6 +192,7 @@ SYNTAX_CLASS(ThisTypeSubstitution, Substitutions) } virtual int GetHashCode() const override { + SLANG_ASSERT(sourceType); return sourceType->GetHashCode(); } ) |
