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

Runtime error from `String.indices ""` #708

Closed
jvoigtlaender opened this Issue Sep 8, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@jvoigtlaender
Contributor

jvoigtlaender commented Sep 8, 2016

This program:

import Html
import String

main = Html.text <| toString <| String.indices "" "Goodbye, Cruel World!"

leads (on current http://elm-lang.org/try) to an "out of memory" JS error.

@process-bot

This comment has been minimized.

Show comment
Hide comment
@process-bot

process-bot Sep 8, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot commented Sep 8, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

jvoigtlaender Sep 8, 2016

Contributor

@lorenzo says this is fixed. On http://elm-lang.org/try it still happens.

Contributor

jvoigtlaender commented Sep 8, 2016

@lorenzo says this is fixed. On http://elm-lang.org/try it still happens.

@lorenzo

This comment has been minimized.

Show comment
Hide comment
@lorenzo

lorenzo Sep 8, 2016

Contributor
Contributor

lorenzo commented Sep 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment