mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Estimated hours taken: 1
Branches: main
Specify the behaviour of finalisers and mutable initial value expressions
w.r.t to exceptions.
doc/reference_manual.texi:
Specify what happens if a finaliser terminates with an uncaught
exception.
Specify the order of initialisation for mutables w.r.t initialise
declarations.
Specify what happens if a mutable initial value expression
terminates with an uncaught exception.
tests/hard_coded/Mmakefile:
Add the new test cases.
tests/hard_coded/final_excp.{m,exp}:
Test the behaviour of finalisers that throw exceptions.
test/hard_coded/mutable_init_order.{m,exp}:
Test that mutables are initialised in the correct order relative
to initialise declarations.
tests/hard_coded/mutabel_excp.{m,exp}:
Test the behaviour of mutable initial value expressions that
throw exceptions.
2 lines
8 B
Plaintext
2 lines
8 B
Plaintext
V = 908
|