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

Invalid FlatZinc generated #671

Closed
anonymous192837 opened this issue Apr 11, 2023 · 0 comments
Closed

Invalid FlatZinc generated #671

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

Comments

@anonymous192837
Copy link

This model generates invalid FlatZinc:

array[1..1] of var bool: arr ::output = let {
  array[1..1] of var bool: res;
  constraint res[1];
} in res;

solve satisfy;

% Error: syntax error, unexpected FZ_BOOL_LIT in line no. 1

Namely:

array [1..1] of var true: arr:: output_array([1..1]) = [true];
array [1..1] of var bool: X_INTRODUCED_0_ ::var_is_introduced  = [true];
solve  satisfy;
@Dekker1 Dekker1 added the bug label Apr 12, 2023
@guidotack guidotack self-assigned this Apr 16, 2023
@cyderize cyderize added the resolved Issue is resolved and the feature or fix will be part of next release label Apr 18, 2023
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

4 participants