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 if-else conditional #736

Merged
merged 3 commits into from
Feb 23, 2025
Merged

add if-else conditional #736

merged 3 commits into from
Feb 23, 2025

Conversation

OlgaNovg
Copy link
Contributor

@OlgaNovg OlgaNovg commented Dec 4, 2024

If-else conditional operator added. Makes it possible to use multiline operator in if-else blocks:

let a = 2;
let b = 4;
if a>b {let c = Add(a, b); c } else {b+5}

OlgaNovg and others added 3 commits December 4, 2024 21:51

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@antonmedv antonmedv closed this Feb 23, 2025
@antonmedv antonmedv reopened this Feb 23, 2025
@antonmedv antonmedv merged commit a3b6cd2 into expr-lang:master Feb 23, 2025
20 of 24 checks passed
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.

None yet

2 participants