Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Maximum Call Stack Size Exceeded with regex "a*" #230

Open
bengolds opened this issue May 14, 2017 · 1 comment
Open

Maximum Call Stack Size Exceeded with regex "a*" #230

bengolds opened this issue May 14, 2017 · 1 comment

Comments

@bengolds
Copy link

bengolds commented May 14, 2017

This is a strange one; I haven't been able to make a minimum repro case for this, so I'll just post where I found it.

In one of my programs, if I use a minimal regex expression (a*), elm-reactor crashes while loading my page with the error LatexTester.elm:1289 Uncaught RangeError: Maximum call stack size exceeded. If I use any other regex (ab*, a+, a), it loads just fine. As far as I can tell, my code isn't doing anything else with the pattern than just passing it into Regex.regex.

Additionally, it works just fine on elm-repl and elm-make. Not sure what's going on here!

[Elm 0.18 on Chrome OS]

@process-bot
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants