Skip to content
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

Having ? outside of a string can cause an infinite loop #1

Open
ManlyMarco opened this issue Jul 2, 2022 · 0 comments
Open

Having ? outside of a string can cause an infinite loop #1

ManlyMarco opened this issue Jul 2, 2022 · 0 comments

Comments

@ManlyMarco
Copy link

ManlyMarco commented Jul 2, 2022

To reproduce simply pass a string with ? in it that's outside of a string to ScriptEvaluator.GetCompletions, for example ScriptEvaluator.GetCompletions("abc?efg"). Easy to reproduce with repl inside of runtime editor. It doesn't lock up when evaluating the same string.

also a | followed by a ? breaks as well, even when inside of a string
even something like "asda|adjasdjaskdj?asd"

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

No branches or pull requests

1 participant