mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-27 07:14:20 +00:00
Estimated hours taken: 1
Branches: main
Fix Mantis bug 227.
compiler/det_report.m:
When looking for violations of require_detism scopes, look inside
lambda goals.
tests/invalid/require_det_in_lambda.{m,err_exp}:
New test case for this bug.
tests/invalid/Mmakefile:
Enable the new test case.
3 lines
135 B
Plaintext
3 lines
135 B
Plaintext
require_det_in_lambda.m:017: Error: required determinism is `det', but actual
|
|
require_det_in_lambda.m:017: determinism is `semidet'.
|