Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 97d8e76

Browse filesBrowse files
authored
compiler/prelude: Initialize high/max before checking range
In $subslice function in prelude, it was checked whether the arguments high/max were in the given slice's range. This was done even when high/max were not given, and the range check didn't work in this case. This commit fixes this issue by ensuring high/max values to use the slice's length and capacity values as default values. Fixes #732.
1 parent 768621c commit 97d8e76
Copy full SHA for 97d8e76

File tree

2 files changed

+21
-9
lines changed
Filter options

2 files changed

+21
-9
lines changed

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.