On Sun, Apr 15, 2012 at 8:54 PM, Paolo Carlini <paolo.carl...@oracle.com> wrote: > .. hi all, hi Gaby, > > a couple of days ago, Manuel suggested in the audit trail of the main "caret > diagnostics" PR, that now that we actually have got a form of it, the kind > of change I proposed to resolve PR 49152 may make much more sense. In any > case, my original patch still regtests fine today. > > What do you think?
a hybrid approach; I would suggest something like this: (a) if caret is in effect, then print the caret pointing to the symbol in question; otherwise (b) print the symbol and the type (as suggested by Marc). This is all best abstracted in a separate function.