mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-24 05:43:53 +00:00
Estimated hours taken: 3
Branches: main
trace/mercury_trace_tables.m:
Add a table for the less-than-fully-qualified names of modules,
allowing any prefix of the module name to be omitted.
Use it to allow procedure specifications (e.g. in breakpoint commands)
to use such module names, with fully qualified module names taking
precedence over less-than-fully-qualified module names.
tests/debugger/breakpoints.{m,inp,exp*}:
tests/debugger/breakpoints.print_list.m:
tests/debugger/breakpoints.{a,b}.m:
tests/debugger/breakpoints.{a,b}.testmod.m:
Update this test case to test the new functionality.
12 lines
165 B
Mathematica
12 lines
165 B
Mathematica
:- module breakpoints__b__testmod.
|
|
|
|
:- interface.
|
|
|
|
:- func test_in_b = string.
|
|
:- func test_in_ab = string.
|
|
|
|
:- implementation.
|
|
|
|
test_in_b = "b".
|
|
test_in_ab = "ab".
|