tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
Make these tests use four-space indentation, and ensure that
each module is imported on its own line. (I intend to use the latter
to figure out which subdirectories' tests can be executed in parallel.)
These changes usually move code to different lines. For the debugger tests,
specify the new line numbers in .inp files and expect them in .exp files.
Estimated hours taken: 0.5
Branches: main
compiler/prog_io.m:
Fix an old bug: don't insist that two parts of the same field access
goal have the same context.
Always get the context for field access goals from the ^ character.
tests/hard_coded/field_access.m:
Modify this old test case by giving different parts of a field access
different contexts. The old version of the compiler mistakenly rejects
it, but the fixed version accepts it.
Estimated hours taken: 3
Branches: main
Allow field access syntax at the top-level of func and mode declarations and
in function clause heads.
NEWS:
Report the new feature.
doc/reference_manual.texi:
Document the new feature.
compiler/prog_io.m:
Implement the new feature.
tests/hard_coded/Mmakefile:
tests/hard_coded/field_syntax.exp:
tests/hard_coded/field_syntax.m:
Added a test case.