Files
mercury/tests/hard_coded
Peter Wang 4fe1a3718f Fix writing of coerce casts in .opt files.
We inadventently wrote out 'coerce' casts in .opt files as:

    V_2 = 'coerce expression'(V_3).

In commit 233874403f, cast_type_to_string
was changed to return "coerce expression" instead of simply "coerce"
for a slight improvement in mode errors.

compiler/hlds_out_goal.m:
    Don't use the result of cast_type_to_string when when writing out
    coerce casts.

tests/hard_coded/Mercury.options:
tests/hard_coded/Mmakefile:
tests/hard_coded/coerce_opt.exp:
tests/hard_coded/coerce_opt.m:
tests/hard_coded/coerce_opt_2.m:
    Add test case.
2022-02-16 20:00:36 +11:00
..
2021-11-27 02:50:29 +11:00
2021-11-27 02:50:29 +11:00
2021-05-13 07:09:39 +10:00
2021-06-27 18:03:55 +10:00
2021-06-27 18:03:55 +10:00
2021-10-28 10:50:35 +11:00
2021-10-28 10:50:35 +11:00
2021-08-13 19:05:24 +10:00