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

GROUP!s in MY Repeat Evaluations #1151

Open
hostilefork opened this issue Jun 30, 2023 · 0 comments
Open

GROUP!s in MY Repeat Evaluations #1151

hostilefork opened this issue Jun 30, 2023 · 0 comments

Comments

@hostilefork
Copy link
Member

The current implementation technique of MY means this test fails, because count is 2

count: 0
o: make object! [x: null]
nuller: function [y] [return null]
o.(count: count + 1, first [x]): my nuller
did all [
    o.x = null
    count = 1
]

The GROUP! is executed twice, due to the MACRO-based implementation.

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

1 participant