Skip to content

Bug: labeled tuples with infix operators cannot be formatted #2731

@cod1r

Description

@cod1r

Describe the bug
labeled tuples with infix operators cannot be formatted

How to Reproduce
Steps to reproduce the behavior:

  • What is the formatted file?
let labeled_tuple () =
	~x:1,
	~y:(1 + 2)

let ~x, .. = labeled_tuple ()
  • What are the selected options?
    -i

I already have a fix that I want to make a PR from but I guess the contributing readme says to make an issue first. :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions