Estimated hours taken: 14
Branches: main
Change the compiler and tools so that `.' and not `:' is now used as the
module separator in all output.
Infix `.' now has associativity yfx and priority 10.
NEWS:
Report the change.
configure.in:
Amend the test for an up-to-date Mercury compiler to check whether
it recognises `.' as a module qualifier.
compiler/code_gen.m:
compiler/error_util.m:
compiler/hlds_out.m:
compiler/prog_out.m:
compiler/prog_util.m:
compiler/rl_exprn.m:
compiler/rl_gen.m:
compiler/source_file_map.m:
compiler/unused_args.m:
library/io.m:
library/rtti_implementation.m:
library/type_desc.m:
runtime/mercury_debug.c:
runtime/mercury_deconstruct.c:
runtime/mercury_stack_trace.c:
Change `:' to `.' as module separator for output.
compiler/mercury_to_mercury.m:
compiler/prog_io_typeclass.m:
As above.
Fixed a bug where `.' was not being recognised as a module separator.
doc/reference_manual.texi:
Report the change.
library/term_io.m:
Ensure that infix `.' is written without surrounding spaces.
tests/hard_coded/dot_separator.m:
tests/hard_coded/dot_separator.exp:
tests/hard_coded/Mmakefile:
Test case added.
Estimated hours taken: 0.3
Branches: main
Fix the expected test results to reflect the new implementation changes
to exception.m
tests/general/string_format_test_2.exp2:
tests/general/string_format_test_3.exp2:
tests/hard_coded/no_fully_strict.exp2:
tests/hard_coded/exceptions/test_uncaught_exception.exp2:
tests/tabling/loopcheck.exp2:
Add throw_impl to the stack trace.
Estimated hours taken: 1
tests/debugger/declarative/Mmakefile:
tests/debugger/declarative/throw.exp2:
tests/hard_coded/exceptions/Mmakefile:
tests/hard_coded/exceptions/test_uncaught_exception.exp2:
tests/hard_coded/Mmakefile:
tests/hard_coded/no_fully_strict.exp2:
tests/tabling/Mmakefile:
tests/tabling/loopcheck.exp2:
Pipe the output of these test cases through sed to avoid
hard-coding dependencies on line numbers in the standard
library. These test cases were all failing because the
line numbers were changed by trd's recent change to add
code for the .NET back-end to the standard library.
Estimated hours taken: 0.1
tests/tabling/loopcheck.exp2:
tests/hard_coded/no_fully_strict.exp2:
Update the line numbers to reflect recent changes to
library/exception.m.
Estimated hours taken: 1
Compile the files in the library directory with --trace minimum by default,
which has no effect in non-debugging grades and causes the library to be
shallow traced, not deep traced, in debugging grades.
This is probably what most users want, and it makes it much easier to
maintain the expected output of the debugging test cases in debugging grades.
library/Mmakefile:
Add --trace minimum to MCG.
tests/*/*:
Update the test cases both for this change and for my previous change,
the addition of line numbers.