Skip to content

Bug: formatting did not stabilize after 10 iterations in ocsigen/eliom #2697

@smorimoto

Description

@smorimoto

How to Reproduce

What is the formatted file? Please try to minimize the code snippet.

https://github.com/ocsigen/eliom/blob/d0fdd2949e630618a616bc0edcd406f87d9760e7/src/lib/eliom_request.client.ml

What are the selected options?

comment-check=true
debug=false
disable=false
margin-check=false
max-iters=10
ocaml-version=4.04.0
quiet=false
disable-conf-attrs=false
version-check=true
assignment-operator=end-line
break-before-in=fit-or-vertical
break-cases=fit (file .ocamlformat:3)
break-collection-expressions=fit-or-vertical (file .ocamlformat:4)
break-colon=after
break-fun-decl=wrap (file .ocamlformat:5)
break-fun-sig=wrap (file .ocamlformat:6)
break-infix=wrap (file .ocamlformat:7)
break-infix-before-func=false (file .ocamlformat:8)
break-separators=before (file .ocamlformat:10)
break-sequences=false (file .ocamlformat:9)
break-string-literals=never (file .ocamlformat:11)
break-struct=force (file .ocamlformat:12)
cases-exp-indent=4
cases-matching-exp-indent=compact (file .ocamlformat:13)
disambiguate-non-breaking-match=false
doc-comments=after-when-possible (file .ocamlformat:14)
doc-comments-padding=2
doc-comments-tag-only=default
dock-collection-brackets=false (file .ocamlformat:15)
exp-grouping=parens
extension-indent=2
field-space=loose (file .ocamlformat:28)
function-indent=2
function-indent-nested=never
if-then-else=keyword-first (file .ocamlformat:27)
indent-after-in=0
indicate-multiline-delimiters=no (file .ocamlformat:16)
indicate-nested-or-patterns=unsafe-no
infix-precedence=indent (file .ocamlformat:17)
leading-nested-match-parens=false
let-and=compact (file .ocamlformat:18)
let-binding-indent=2
let-binding-deindent-fun=true
let-binding-spacing=compact (file .ocamlformat:19)
let-module=compact
line-endings=lf
margin=80
match-indent=0
match-indent-nested=never
max-indent=68
module-item-spacing=compact (file .ocamlformat:20)
nested-match=wrap
ocp-indent-compat=true (file .ocamlformat:33)
parens-ite=false
parens-tuple=multi-line-only (file .ocamlformat:21)
parens-tuple-patterns=multi-line-only (file .ocamlformat:22)
parse-docstrings=false (file .ocamlformat:2)
parse-toplevel-phrases=false
sequence-blank-line=compact (file .ocamlformat:24)
sequence-style=terminator (file .ocamlformat:23)
single-case=compact (file .ocamlformat:25)
space-around-arrays=false (file .ocamlformat:29)
space-around-lists=false (file .ocamlformat:31)
space-around-records=false (file .ocamlformat:30)
space-around-variants=false (file .ocamlformat:32)
stritem-extension-indent=0
type-decl=compact (file .ocamlformat:26)
type-decl-indent=2
wrap-comments=false
wrap-fun-args=true
profile=default

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