Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Rational]: rational 0:0 returns SIGSEGV, should throw an error, instead #1562

Closed
RickBarretto opened this issue Jan 29, 2024 · 0 comments · Fixed by #1432
Closed

[Rational]: rational 0:0 returns SIGSEGV, should throw an error, instead #1562

RickBarretto opened this issue Jan 29, 2024 · 0 comments · Fixed by #1432
Assignees
Labels
bug Something isn't working

Comments

@RickBarretto
Copy link
Collaborator

To Reproduce

$> inspect [0:0]
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

Expected behavior
Should return:

>> Runtime | division by zero
     error | 

Desktop (please complete the following information):

  • version : v/0.9.83 b/2276 @ 2024-01-25T21:43:47-03:00
  • arch : amd64/windows
@RickBarretto RickBarretto added the bug Something isn't working label Jan 29, 2024
@drkameleon drkameleon mentioned this issue Feb 16, 2024
4 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants