Topological order not computed correctly when multiple dfy files present in the command-line #5728
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
Dafny version
latest-nightly
Code to produce this issue
Command to run and resulting output
What happened?
The module order when emitting doo files is not topologically sorted when multiple files are provided, it's the order of the provided files.
Historically, this is why some systems are not able to build the .doo files locally, because the find order of the external modules is different. @atomb reported a find order of:
./Concurrent-go.dfy
./Concurrent-notarget-java-cs-js-go-py.dfy
./FileIO-notarget-java-cs-js-go-py.dfy
./FileIOInternalExterns-go.dfy
./FileIOInternalExterns-notarget-java-cs-js-go-py.dfy
The text was updated successfully, but these errors were encountered: