HomePhabricator

[Concepts] Fix MarkUsedTemplateParameters for exprs

Authored by saar.raz on Jan 10 2020, 5:12 PM.

Description

[Concepts] Fix MarkUsedTemplateParameters for exprs

D41910 introduced a recursive visitor to MarkUsedTemplateParameters, but
disregarded the 'Depth' parameter, and had incorrect assertions. This fixes
the visitor and removes the assertions.

Details