You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ie notice in the AST both T and U are at the same depth, 0.
This happens because we substitute T early into the alias, which pulls U down one level, and then we substitute U.
This flattens everything down to ground level.
The text was updated successfully, but these errors were encountered:
Our substitution of alias templates is leaving behind a SubstTemplateTypeParmType pointing to TemplateTypeParmType with incorrect depth.
Example: (https://godbolt.org/z/r3GPj7GGn)
AST dump of type2:
Ie notice in the AST both T and U are at the same depth, 0.
This happens because we substitute T early into the alias, which pulls U down one level, and then we substitute U.
This flattens everything down to ground level.
The text was updated successfully, but these errors were encountered: