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

fixes #22852; real bugfix is tied to bug #22672 #23013

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

Araq
Copy link
Member

@Araq Araq commented Nov 30, 2023

No description provided.

@Araq Araq merged commit ab7faa7 into devel Nov 30, 2023
22 checks passed
@Araq Araq deleted the araq-fixes-22852 branch November 30, 2023 16:59
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from ab7faa7

Hint: mm: orc; opt: speed; options: -d:release
177277 lines; 7.288s; 766.789MiB peakmem

Araq pushed a commit that referenced this pull request May 27, 2024
… or seq[T] with index out of range (#23279)

follow up #23013

fixes #22852
fixes #23435
fixes #23645

reports rangeDefect correctly

```nim
/workspaces/Nim/test9.nim(1) test9
/workspaces/Nim/lib/system/indices.nim(116) []
/workspaces/Nim/lib/system/fatal.nim(53) sysFatal
Error: unhandled exception: value out of range: -2 notin 0 .. 9223372036854775807 [RangeDefect]
```
narimiran pushed a commit that referenced this pull request Sep 13, 2024
… or seq[T] with index out of range (#23279)

follow up #23013

fixes #22852
fixes #23435
fixes #23645

reports rangeDefect correctly

```nim
/workspaces/Nim/test9.nim(1) test9
/workspaces/Nim/lib/system/indices.nim(116) []
/workspaces/Nim/lib/system/fatal.nim(53) sysFatal
Error: unhandled exception: value out of range: -2 notin 0 .. 9223372036854775807 [RangeDefect]
```

(cherry picked from commit c615828)
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