Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on variable in let expression for output statement #771

Closed
CervEdin opened this issue Dec 18, 2023 · 0 comments
Closed

Segfault on variable in let expression for output statement #771

CervEdin opened this issue Dec 18, 2023 · 0 comments
Assignees
Labels
bug resolved Issue is resolved and the feature or fix will be part of next release

Comments

@CervEdin
Copy link

The following results in a segfault in MiniZinc 2.7.6

output let { var 0..0: Y } in
[  show(Y) ++ "\n" ];

as does

output let { var 0..0: Y; constraint Y == 0 } in
[ show(Y) ++ "\n", ];

but this doesn't

output let { var 0..0: Y = 0 } in
[ show(Y) ++ "\n", ];

and neither does

int: y = 0;
output let { var 0..0: Y = y } in
[ show(Y) ++ "\n", ];
@Dekker1 Dekker1 added the bug label Dec 18, 2023
@Dekker1 Dekker1 self-assigned this Jan 3, 2024
@Dekker1 Dekker1 added the resolved Issue is resolved and the feature or fix will be part of next release label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug resolved Issue is resolved and the feature or fix will be part of next release
Projects
None yet
Development

No branches or pull requests

2 participants