This code is trying to be too clever. I wonder if breaking it in two steps won't make it much clearer. If I understand this correctly:

* pair syms with their corresponding `SourceFile` (skipping those that don't have a source file)
* pass that result to `askDocComment`