TemplateInstance.printInstantiationTrace

Given an error instantiating the TemplateInstance, give the nested TemplateInstance instantiations that got us here. Those are a list threaded into the nested scopes.

class TemplateInstance
extern (D) final
void
printInstantiationTrace
(,
const(uint) max_shown = global.params.v.errorSupplementCount()
)

Parameters

cl Classification

classification of this trace as printing either errors or deprecations

max_shown const(uint)

maximum number of trace elements printed (controlled with -v/-verror-limit)

Meta