diff options
| author | Yong He <yonghe@outlook.com> | 2017-12-27 21:51:56 -0500 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-12-27 21:51:56 -0500 |
| commit | eaf3d840b16a8646ab4545487679c869eef500b7 (patch) | |
| tree | 3ae6f64ec51a2714ac06310723a1c320e91e5974 /examples | |
| parent | d55b56bc804f25d8390f1dc6b09ff9116ffcaf29 (diff) | |
Using a visitor to systematically replace lookup scopes of generic function's return type expression.
fixes #336
Add a `ReplaceScopeVisitor` to replace the scopes of the return type expression tree to use the generic decl's scope instead of module's scope after parser has determined the decl is a generic function header decl.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
