diff options
| author | Yong He <yonghe@outlook.com> | 2018-01-13 15:17:43 -0500 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2018-01-13 15:17:43 -0500 |
| commit | 4d2086f47e25aa4545df95ddfd260c8bc5aafdb2 (patch) | |
| tree | 10c92df406a82e7a5eb24b56c17d9256a7183c44 /source/slang/syntax.cpp | |
| parent | 99f49e42fd3d55b0404261379d68dcca2b350209 (diff) | |
Fix creation of `ThisTypeSubstitution`.
`createDefaultSubstitutions` now responsible for creating a `ThisTypeSubstitution` when `decl` is an `InterfaceDecl`. This is to ensure a reference to an associated type decl from the same interface that defines the assoctype decl will get a `ThisTypeSubstitution` so that the right hand side of it can be replaced by future substitutions.
Diffstat (limited to 'source/slang/syntax.cpp')
0 files changed, 0 insertions, 0 deletions
