mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 06:47:17 +00:00
This diff contains no algorithmic changes.
Estimated hours taken: 6 Branches: main This diff contains no algorithmic changes. It merely renames apart a bunch more function symbols to reduce ambiguity. After this diff, the summary line from the mdb command "ambiguity -f" is Total: 351 names used 975 times, maximum 31, average: 2.78 browser/*.m: compiler/*.m: Rename function symbols to eliminate ambiguities. tests/debugger/declarative/dependency.exp: tests/debugger/declarative/dependency2.exp: Update the expected out where some internal function symbol names appear in the output of the debugger. (This output is meant for implementors only.)
This commit is contained in:
@@ -369,10 +369,10 @@ promise_to_string(exhaustive) = "promise_exhaustive".
|
||||
promise_to_string(exclusive_exhaustive) =
|
||||
"promise_exclusive_exhaustive".
|
||||
|
||||
builtin_type_to_string(int, "int").
|
||||
builtin_type_to_string(float, "float").
|
||||
builtin_type_to_string(string, "string").
|
||||
builtin_type_to_string(character, "character").
|
||||
builtin_type_to_string(builtin_type_int, "int").
|
||||
builtin_type_to_string(builtin_type_float, "float").
|
||||
builtin_type_to_string(builtin_type_string, "string").
|
||||
builtin_type_to_string(builtin_type_character, "character").
|
||||
|
||||
write_promise_type(PromiseType, !IO) :-
|
||||
io.write_string(promise_to_string(PromiseType), !IO).
|
||||
|
||||
Reference in New Issue
Block a user