The empty parent modules of a Dafny module like A.B.C can cause trouble in Go when trying to use --go-module-name - these aren't recorded in translation records since they can appear in multiple compilation units. This may need to be extended to other target languages in the future.
How has this been tested?
GoEmptyParentModules.dfy, which uses CHECK-NOT to assert the empty modules don't show up in the translated code.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.
Description
The empty parent modules of a Dafny module like
A.B.C
can cause trouble in Go when trying to use--go-module-name
- these aren't recorded in translation records since they can appear in multiple compilation units. This may need to be extended to other target languages in the future.How has this been tested?
GoEmptyParentModules.dfy, which uses
CHECK-NOT
to assert the empty modules don't show up in the translated code.By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.