Open wilcoxjay opened 8 years ago
Thanks for that report! That's indeed annoying :/ C-c C-c
is probably a half-decent workaround, as long as your files are quick to process.
The issue is within the Dafny server implementation (not within the Emacs mode), and I need to debug that. That could take a while; I may have time next week-end though.
Consider a that has two files
A.dfy
andB.dfy
.A
contains library declarations, whichB
uses via theinclude
directive.Then flycheck will report that a precondition of
foo
is violated, but it won't tell you which one. This gets annoying when there are many preconditions, and I am reduced to copy-pasting the contents ofA
intoB
or to running dafny on the command line.Would it be possible to get this information into flycheck, preferably including the ability to jump to the precondition, just like when the caller and callee are in the same file?