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

Preserve line breaks in spec variable lists #114

Closed
ampleyfly opened this issue Aug 21, 2020 · 2 comments · Fixed by #115
Closed

Preserve line breaks in spec variable lists #114

ampleyfly opened this issue Aug 21, 2020 · 2 comments · Fixed by #115
Assignees
Labels
bug Something isn't working

Comments

@ampleyfly
Copy link
Contributor

Current behaviour transforms this

-spec my_fun(TypeA, TypeB) -> ok when
    TypeA :: some_type(),
    TypeB :: some_other_type().

to

-spec my_fun(TypeA, TypeB) -> ok when
    TypeA :: some_type(), TypeB :: some_other_type().

I would expect and prefer the line break to be preserved, here.

@michalmuskala
Copy link
Member

This sounds reasonable

@michalmuskala michalmuskala added the bug Something isn't working label Aug 21, 2020
@awalterschulze
Copy link
Contributor

I can try to take this one

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.

3 participants