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

Support nested if statements as output environments #109

Open
winitzki opened this issue Feb 1, 2017 · 1 comment
Open

Support nested if statements as output environments #109

winitzki opened this issue Feb 1, 2017 · 1 comment

Comments

@winitzki
Copy link
Collaborator

winitzki commented Feb 1, 2017

Currently, only a single layer of if statements is supported when analyzing the output environments in the "shrink" operation at compile time.

However, the go macro already gathers complete tree of possible if statements and other output environments. This tree needs to be transformed at compile time into a more readily usable structure, so that emit-once, emit-at-least-once, and emit-maybe are determined for arbitrary nested if statements interspersed with function calls.

@winitzki
Copy link
Collaborator Author

winitzki commented Feb 6, 2017

Closed by mistake.

winitzki added a commit that referenced this issue Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant