Skip to content

Bug: line over 90 characters with record expression #1068

@ceastlund

Description

@ceastlund

Describe the bug
The record expression exceeds 90 characters, but ocamlformat does not wrap it:

let _ =
  { long_field_name = 9999999999999999999999999999999999999999999999999999999999999999999 }
;;

How to Reproduce
With ocamlformat built from 99444f3, with --profile=janestreet.

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