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

Bad formatting of class signatures #2288

Closed
Julow opened this issue Mar 10, 2023 · 0 comments · Fixed by #2301
Closed

Bad formatting of class signatures #2288

Julow opened this issue Mar 10, 2023 · 0 comments · Fixed by #2301

Comments

@Julow
Copy link
Collaborator

Julow commented Mar 10, 2023

class c :
  'a
  -> object
       val x : 'b
     end

The object part that comes last should be docked. The arguments can then fit on the first line.

Desired output:

class c : 'a -> object
    val x : 'b
  end
@gpetiot gpetiot changed the title Bad formatting of class sigatures Bad formatting of class signatures Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant