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

multiline strings: respect whitespace #97

Open
lue-bird opened this issue Oct 11, 2021 · 0 comments
Open

multiline strings: respect whitespace #97

lue-bird opened this issue Oct 11, 2021 · 0 comments
Labels
bug parsing Relates to parsing code or examples

Comments

@lue-bird
Copy link

lue-bird commented Oct 11, 2021

The generated test uses extra spaces after each newline. For

--> """type List a
-->     = Nil
-->     | Cons a (List a)"""

the generated test will look like this:

                (
                """type List a
                    = Nil
                    | Cons a (List a)"""
                )

when it should be

                (
                """type List a
    = Nil
    | Cons a (List a)"""
                )
@gampleman gampleman added bug parsing Relates to parsing code or examples labels Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug parsing Relates to parsing code or examples
Projects
None yet
Development

No branches or pull requests

2 participants