Skip to content

multiline strings: respect whitespace #97

Open
@lue-bird

Description

@lue-bird

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)"""
                )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugparsingRelates to parsing code or examples

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions