Skip to content

Redshift raise only StaticErrors#412

Open
Jemeljanov wants to merge 6 commits intospylang:mainfrom
Jemeljanov:fix/rs-ZeroDivisionError
Open

Redshift raise only StaticErrors#412
Jemeljanov wants to merge 6 commits intospylang:mainfrom
Jemeljanov:fix/rs-ZeroDivisionError

Conversation

@Jemeljanov
Copy link
Copy Markdown
Contributor

@Jemeljanov Jemeljanov commented Mar 11, 2026

Close #410

  • Doppler now defers non-static expression failures.
  • Non-primitive typed contexts are supported via operator::raise fallback with C backend.
  • Deferred raise expressions are typed from the expected context type (e.g. return target), so redshift succeeds and the original non-static error is raised at runtime.

@Jemeljanov Jemeljanov marked this pull request as draft March 11, 2026 12:32
@Jemeljanov Jemeljanov requested a review from antocuni March 11, 2026 16:14
@Jemeljanov Jemeljanov marked this pull request as ready for review March 12, 2026 14:37
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.

Redshift should raise only StaticErrors

1 participant