fix minor bug in cursor.sml (we checked if strPos is equal to 'String.size str - 1' but then accessed strPos + 1, which makes our bound check useless and may cause an exception. Instead, check 'strPos < String.size str - 1'

This commit is contained in:
2024-11-01 03:35:12 +00:00
parent 25f06b1f9a
commit f7b755d6a6
2 changed files with 1 additions and 1 deletions

BIN
shf

Binary file not shown.