how to test:
- type
type t = {name: string, msg: string} and run formatter
- notice still single line
- type
type t = {
name: string,
msg: string,
}
and run formattter
4. notice still four lines
5. type exception Foo({name: string,msg: string}) and run formatter
6. notice still single line
7. type
exception Foo({
name: string,
msg: string,
})
and run formatter
8. BUG: formatter forces it to single line
how to test:
type t = {name: string, msg: string}and run formatterand run formattter
4. notice still four lines
5. type
exception Foo({name: string,msg: string})and run formatter6. notice still single line
7. type
and run formatter
8. BUG: formatter forces it to single line