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

Fix: Incorrect Handling of Perspective Selectors #204

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

DavePearce
Copy link
Collaborator

The problem was that lists were not being raised correctly out of expressions and, in particular, this was causing a problem with perspective selectors.

The goal here is to improve the mechanism for raising `lists` out of
expressions.
This puts through a fairly invasive change to the way that `if` and
`lists` are expanded.  Specifically, `lists` are now explicitly
"compiled out" and raised to the very top.  This means that subsequent
code which assumes lists are only ever at the top will work correctly.
This removes some chunks of deadcode, and fixes a number of linting
errors.
@DavePearce DavePearce self-assigned this Jun 18, 2024
@DavePearce DavePearce linked an issue Jun 18, 2024 that may be closed by this pull request
@DavePearce DavePearce merged commit 7a8d41b into master Jun 18, 2024
1 check passed
@DavePearce DavePearce deleted the 203-too-many-arguments-for-mul-in-definego branch June 18, 2024 09:14
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

Successfully merging this pull request may close these issues.

Too Many Arguments for Mul in define.go
1 participant