Open pascalduez opened 6 years ago
cc @calebmer @nmote if you have any insight off the top of your head
either way I'll look into this soon. Thanks for reporting @pascalduez!
@wanderley updated Nuclide for the new Flow error messages. Honestly I'm not 100% sure how this package is related, is it just forked from Nuclide? Anyway probably something similar to what happened in https://github.com/facebook/nuclide/commit/d3c82ef258fc6504e848b3dbe1739a912a51ed1a needs to happen here.
I just synced up with the latest code from Nuclide. flow-language-server
now forwards on the trace in the form of the RelatedLocation
s proposal.
Unfortunately this is still a proposal, and atom-languageclient doesn't yet implement it (cc @damieng). That said, @ljw1004's proposal suggests servers keep diagnostics messages self-contained without this extra context, and I'll see what I can do to provide it. Unfortunately there isn't a client capability for this, so I can't tell exactly in which situations to expand the diagnostic message.
Going to keep this open to track progress.
Hi,
the new error format of
flow@0.66
is not displayed correctly.