-
Notifications
You must be signed in to change notification settings - Fork 90
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
Importing json/yaml crashes nls #1378
Comments
Anecdotally, I've also had it panic in a different location for the same reason: nickel/lsp/nls/src/linearization/mod.rs Lines 463 to 466 in 00b6ce9
|
@simonzkl I have a fix for my simple test case (and which makes sense with respect to the original location of the panic). But I didn't hit the second location yet. Maybe it's an artifact of the first issue, but just in case, would you mind sharing the JSON file you tried? |
After narrowing it down, I think just switching to
|
Ok, this is more in line with my own findings. Thanks! |
Describe the bug
Importing json/yaml crashes
nls
. It works fine innickel
.To Reproduce
Expected behavior
Should not crash.
Environment
The text was updated successfully, but these errors were encountered: