aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-10-10 11:55:52 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-10-10 11:57:33 +0200
commita4efa8c091bb41968c2a2e198fa239625ed8a24e (patch)
tree902e952ce0abf2eb06d757f9587497e14ef29a56 /executor
parentd52eff2843084b3aeada4e46029519cf17067385 (diff)
pkg/compiler: fix infinite recursion in template instantiation
Currently we replace a template argument and then recurse into the new type AST to see if there is more to replace. If the description is buggy and the template argument contains itself, then we will recurse infintiely trying to replace it more and more. Use post-order traversal when replacing template argument to fix this.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions