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

DDlog generates funky code when given paths #1001

Open
Kixiron opened this issue Jun 17, 2021 · 0 comments
Open

DDlog generates funky code when given paths #1001

Kixiron opened this issue Jun 17, 2021 · 0 comments

Comments

@Kixiron
Copy link
Contributor

Kixiron commented Jun 17, 2021

If ddlog is run with an -i argument that's a relative path (e.g. ddlog -i .\simple.dl) it generates invalid code (mainly in the Cargo.toml but probably elsewhere)

Sample invalid code in Cargo.toml:

[package]
name = ".\simple.dl"

[lib]
name = ".\simple.dl"

I don't know if this is to do with Haskell's path handling or something else, but it makes code break

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