Open LDY1998 opened 3 years ago
CollectPrustiSpecVisitor
only collects annotated procedures… I'm pretty sure SpecCollector
already does basically this, in the keys of the returned DefSpecificationMap
. We should eventually get rid of CollectPrustiSpecVisitor
if we can.
The hir tree is visited twice in the process, mainly by the SpecCollector struct in SpecCollector and in CollectPrustiSpecVisitor
There are slight difference between 2 visitor where collect_visitor has visit item and the spec_collector call visit_fn for a couple of times