On Saturday, 22 February 2020 at 17:44:52 UTC, Stefan Koch wrote:
no. -vcg-ast runs directly before codegen. All ast-rewriteing has already happend at that point.The reason it contains the template declarations is because they are still in the ast.There is no point in removing them.
Thanks, I didn't even consider the possibility of a compiler mutating the ast in-place. Spent too much time writing Haskell, I guess.