Open
Description
I am wondering if it would be possible to have flycheck autodetect that the current buffer is a Dafny or Boogie test, and to use the flags in the // RUN:
comment at the top of the file instead of the otherwise configured flags.
This would solve the issue of flycheck reporting spurious errors when editing a test due to using different flags than the ones the test expects.
Perhaps the easiest way to implement this is just to look for such comments in any files and use them as flags.
Since this behavior could be surprising, it might be best if it was guarded by a customizable variable.
I'm planning to prototype it for my own use, but was curious to see whether others would fine it helpful.
Metadata
Metadata
Assignees
Labels
No labels