fmt icon indicating copy to clipboard operation
fmt copied to clipboard

Buggy formatting of long syntax-parse pattern directives

Open jackfirth opened this issue 1 year ago • 0 comments

fmt turns this code:

(define-syntax-parse-rule (m)
  #:fail-when (string-append "longggggggggggggg" "stringgggggggg")
  "very very very long failure message goes here"
  (void))

Into this:

(define-syntax-parse-rule (m)
  #:fail-when (string-append "longggggggggggggg"
                             "stringgggggggg") "very very very long failure message goes here"
  (void))

Which is not ideal.

jackfirth avatar Oct 09 '24 00:10 jackfirth