Open keyboardDrummer opened 11 months ago
I'm not sure what the right solution is. For these particular errors we could move them to resolution phase to prevent this doo file from being generated, but that does not provide a generic mechanism for preventing this issue.
Another change we could make it in the snippet generation, to detect that the location is inside a doo file and either generate a good looking snippet or no snippet at all.
Running
dafny test
on a .doo file generated from amethod {:test} Foo(x: int, y: int) {}
gives the following error: