-
Notifications
You must be signed in to change notification settings - Fork 130
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
Crash when parsing query #61
Comments
Here's another one:
|
And another:
|
Thanks for the bug report. Still, I think the panic call in https://github.com/googleprojectzero/weggli/blob/01499e238c9b8e4af514dea1ff637c8e1846db18/src/lib.rs#L59 is just sloppy coding. That method should return an error message instead of crashing, I'll try to find some time to fix this in the coming days. |
Here was a recent error we got:
I think this is against a very recent commit. I'm petty sure we're now tracking the version that can return null. We're using weggli via weggli-native. |
I am not able to reproduce this, but I got this with something vaguely like
$var = $func($arg1,
. I have also noticed issues where$v = $f()
doesn't work,$v = $fu()
doesn't work, but$v = $fun()
does work, and$v = $f($p)
works. It's very strange.My use case is that I an interactively trying to build a Weggli query on each keystroke.
The text was updated successfully, but these errors were encountered: