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

Problem with json-bin feature #134

Closed
DavePearce opened this issue May 10, 2024 · 0 comments · Fixed by #184
Closed

Problem with json-bin feature #134

DavePearce opened this issue May 10, 2024 · 0 comments · Fixed by #184
Labels
bug Something isn't working

Comments

@DavePearce
Copy link
Collaborator

DavePearce commented May 10, 2024

There is a problem with the json-bin feature relating to interleaved constraints. Here is the minimal example:

(defcolumns X Y)
(definterleaved Z (X Y))

Compiling this with the following command-line:

cargo run --features json-bin -- compile --json --out test.bin test.lisp

Gives the following failure:

Error: key must be a string

With the following backtrace:

   0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
             at /home/djp/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.79/src/error.rs:565:25
   1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1963:27
....
@DavePearce DavePearce added the bug Something isn't working label May 10, 2024
@DavePearce DavePearce linked a pull request Jun 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant