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-06 07:19:25 +10:00
2021-05-06 07:19:25 +10:00
2021-06-27 18:03:04 +10:00
2022-01-01 14:10:03 +11:00
2021-05-06 07:19:25 +10:00
2022-02-11 23:18:04 +11:00
2022-02-11 23:16:47 +11:00
2021-06-27 18:03:55 +10:00
2021-11-04 00:46:05 +11:00
2021-11-04 00:46:05 +11:00
2022-02-16 20:00:36 +11:00
2022-02-16 20:00:36 +11:00
2022-02-16 20:00:36 +11:00
2021-05-13 13:34:07 +10:00
2021-05-13 13:34:07 +10:00
2021-05-13 13:34:07 +10:00
2021-05-06 07:19:25 +10:00
2021-06-27 18:03:04 +10:00
2021-05-13 07:09:39 +10:00
2021-05-06 07:19:25 +10:00
2021-06-27 18:03:55 +10:00
2021-06-27 18:03:04 +10:00
2021-05-06 07:19:25 +10:00
2021-06-27 18:03:55 +10:00
2021-06-27 18:03:55 +10:00
2021-05-06 07:19:25 +10:00
2021-05-06 07:19:25 +10:00
2021-05-06 07:19:25 +10:00
2021-07-10 04:44:51 +10:00
2021-07-10 04:44:51 +10:00
2021-07-10 04:44:51 +10:00
2021-06-30 22:54:22 +10:00
2021-06-30 22:54:22 +10:00
2021-07-10 04:44:51 +10:00
2021-07-10 04:44:51 +10:00
2021-07-10 04:44:51 +10:00
2021-07-10 04:44:51 +10:00
2021-06-30 22:58:48 +10:00
2021-06-30 22:58:48 +10:00
2021-06-30 22:58:48 +10:00
2021-06-30 23:55:56 +10:00
2021-07-10 04:44:51 +10:00
2021-06-30 23:55:56 +10:00
2021-07-10 04:44:51 +10:00
2021-06-30 23:55:56 +10:00
2021-07-10 04:44:51 +10:00
2021-07-10 04:44:51 +10:00
2021-07-10 04:44:51 +10:00
2021-07-10 04:44:51 +10:00
2021-05-06 07:19:25 +10:00
2021-05-06 07:19:25 +10:00
2021-05-06 07:19:25 +10:00
2021-06-27 18:03:04 +10:00
2021-12-31 02:38:07 +11:00
2021-12-31 02:38:07 +11:00
2021-10-28 10:50:35 +11:00
2021-10-28 10:50:35 +11:00
2022-01-14 14:52:05 +11:00
2022-01-14 14:52:05 +11:00
2022-01-14 14:52:05 +11:00
2022-01-14 14:52:05 +11:00
2022-01-14 14:52:05 +11:00
2022-01-14 14:52:05 +11:00
2021-04-20 11:05:29 +10:00
2021-04-20 11:05:29 +10:00
2021-04-20 11:05:29 +10:00
2021-05-06 07:19:25 +10:00
2021-12-31 02:38:07 +11:00
2021-12-31 02:38:07 +11:00
2021-12-31 02:38:07 +11:00
2021-12-31 02:38:07 +11:00
2022-02-16 20:00:36 +11:00
2022-02-16 20:00:36 +11:00
2021-05-06 07:19:25 +10:00
2021-05-06 07:19:25 +10:00
2021-05-06 07:19:25 +10:00
2021-09-30 16:45:25 +10:00
2021-12-31 02:38:07 +11:00
2021-06-27 18:03:55 +10:00
2021-11-04 00:46:05 +11:00
2021-11-04 00:46:05 +11:00
2021-08-13 19:05:24 +10:00
2021-05-06 07:19:25 +10:00
2021-10-31 19:54:42 +11:00
2021-10-31 19:54:42 +11:00
2021-10-31 17:32:32 +11:00
2021-10-31 17:32:32 +11:00
2021-11-13 15:09:25 +11:00
2021-11-13 15:09:25 +11:00
2021-10-27 22:28:01 +11:00
2021-10-31 17:32:32 +11:00
2021-11-13 15:09:25 +11:00
2021-11-13 15:09:25 +11:00
2022-01-03 20:03:31 +11:00
2022-01-03 20:03:31 +11:00
2021-10-31 17:32:32 +11:00
2021-10-31 17:32:32 +11:00
2021-11-13 15:09:25 +11:00
2021-11-13 15:09:25 +11:00
2021-05-06 07:19:25 +10:00
2021-06-27 18:03:55 +10:00
2021-06-27 18:03:55 +10:00