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

When doesn't join variables in compound clauses with "collected matches..." #158

Open
s-ol opened this issue Jul 8, 2024 · 1 comment
Open
Assignees

Comments

@s-ol
Copy link
Collaborator

s-ol commented Jul 8, 2024

When /note/ is a post-it &\
     the collected matches for [list /note/ has /topic/ weight /weight/] are /matches/ {
}

will yield results where $note is different from the "note" key in matches

@cwervo cwervo self-assigned this Jul 8, 2024
@nmichaud
Copy link
Collaborator

nmichaud commented Sep 16, 2024

One option until this is fixed is to split it up into nested Whens:

When /note/ is a post-it {
  When the collected matches for [list $note has /topic/ weight /weight/] are /matches/ {
    ...
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants