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

add postfix increment/decrement operators #1055

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

imring
Copy link
Collaborator

@imring imring commented Oct 26, 2022

@imring imring marked this pull request as draft October 26, 2022 16:32
@k0l11 k0l11 added the kind: enhancement New feature or request label Nov 7, 2022
@imring imring marked this pull request as ready for review November 8, 2022 16:11
@imring
Copy link
Collaborator Author

imring commented Nov 8, 2022

e.g.

let x = 5;
print(x);
x++;
print(x);
x--;
print(x);

for x++; x; x-- {
    print(x);
}

but print(x--) is not working becase x-- is a statement, not expression

@k0l11 k0l11 added the area: pkg Related to core logic label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: pkg Related to core logic kind: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants