Skip to content

fix: report division by zero as error - #112

Merged
tmlmt merged 1 commit into
v3from
fix/divbyzero
Oct 25, 2026
Merged

tmlmt merged 1 commit into
v3from
fix/divbyzero

Conversation

@tmlmt

@tmlmt tmlmt commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Description

Adds a new diagnostic error code E9403 which is reported when a Division By Zero is attempted instead of just throwing. Parsing is stopped immediately in any case.

Related Issue:

  • N/A (if no related issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Enhancement (refactoring, style or performance improvement)
  • Chore (maintenance tasks, dependency updates, or tooling changes that don't affect functionality)
  • Documentation change (improvement to the Vitepress documentation or playground)

tmlmt commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner Author

tmlmt commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner Author

Merge activity

  • Oct 25, 10:20 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 25, 10:22 PM UTC: Graphite rebased this pull request as part of a merge.
  • Oct 25, 10:22 PM UTC: @tmlmt merged this pull request with Graphite.

@tmlmt
tmlmt changed the base branch from feat/diagnostics to graphite-base/112 October 25, 2026 22:20
@tmlmt
tmlmt changed the base branch from graphite-base/112 to v3 October 25, 2026 22:20
@tmlmt
tmlmt merged commit 1968a82 into v3 Oct 25, 2026
3 of 4 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.

1 participant