mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-11 03:45:33 +00:00
Estimated hours taken: 3.5 Branches: main, release Fix a bug reported by Peter Ross <petdr@miscrit.be> that was affecting nondet code generation for the .NET back-end. compiler/ml_call_gen.m: Fix a bug where we were pushing a success continuation in ml_gen_success_cont, but never popping it. The fix is just to not push it in the first place; the only place this continuation will be used is in the caller, ml_gen_mlds_call, and it gets returned directly to the caller, so it doesn't need to get pushed onto the success continuation stack. tests/hard_coded/Mmakefile: tests/hard_coded/nondet_copy_out.m: tests/hard_coded/nondet_copy_out.exp: Add a regression test.
2 lines
9 B
Plaintext
2 lines
9 B
Plaintext
success.
|