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

feat(compiler): Make if propagate errors [fixes LNG-202] #779

Merged
merged 10 commits into from
Sep 27, 2023

Conversation

InversionSpaces
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Jun 30, 2023

LNG-202 Make `if` propagate errors transparently

Right now if\else work just like try\catch: if error is raised inside if body, it will be captured and else body will be executed.

if 1 == 1:
  Test.test("one")
else:
  Test.test("two")

If Test.test("one") generates error, Test.test("two") is executed

@InversionSpaces InversionSpaces force-pushed the feat/if-propagate-error branch 2 times, most recently from ab12e83 to 776512b Compare July 6, 2023 12:43
@InversionSpaces InversionSpaces added the e2e Run e2e workflow label Sep 26, 2023
@InversionSpaces InversionSpaces merged commit ca6cae9 into main Sep 27, 2023
10 checks passed
@InversionSpaces InversionSpaces deleted the feat/if-propagate-error branch September 27, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e Run e2e workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants