-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
forwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.This report has been forwarded to Jane Street's internal review system.
Description
This segfaults:
let _ = ignore (Base.String.index_from "" (-1000000000) 'c' : _ option)Most other String.*index* functions are broken in this way, and also by accepting indices greater than the length of the string, whereas String.{r,}index_from_exn detect both kinds of bad inputs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
forwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.This report has been forwarded to Jane Street's internal review system.