Also, throw software_error/1 exceptions rather than directly throwing strings
in a few spots.
Undo special Ralph-style formatting.
library/*.:
As above.
tests/hard_coded/array2d_from_array.exp:
tests/hard_coded/array2d.exp:
tests/hard_coded/test_injection.exp:
Update to conform with the above change.
Estimated hours taken: 1
Branches: main
library/*.m:
Replace __ with . as the module qualifier everywhere.
tests/hard_coded/test_injection.exp:
Replace __ with . as the module qualifier in expected exceptions.
Estimated hours taken: 3
Branches: main
tests/hard_coded/Mmakefile:
tests/hard_coded/test_injection.exp:
tests/hard_coded/test_injection.m:
Add a test case for the injection library module.
library/injection.m:
injection.merge and injection.overlay do not actually throw exceptions
like the documentation says. The reason is that the underlying map
implementation does not throw exceptions in these circumstances, but
silently accepts the error. We therefore continue to do the same,
but update the documentation to reflect this.
Note that getting map.m to throw exceptions in these circumstances
would probably be the better solution.