Previously, this was the output of the formatter:
```
fn f = () => {
return () => {
return 1
}
}
```
Now the above will be reformatted as
```
fn f = () => {
return () => {
return 1
}
}
```
Much better!
30 lines
484 B
Plaintext
30 lines
484 B
Plaintext
fn test = () => {
|
|
return startSketchOn('XY')
|
|
|> startProfileAt([0, 0], %)
|
|
|> line([0, 1], %)
|
|
|> line([1, 0], %)
|
|
|> line([0, -1], %)
|
|
|> close(%)
|
|
}
|
|
|
|
fn test2 = () => {
|
|
return {
|
|
thing1: {
|
|
thing2: startSketchOn('XY')
|
|
|> startProfileAt([0, 0], %)
|
|
|> line([0, 1], %)
|
|
|> line([1, 0], %)
|
|
|> line([0, -1], %)
|
|
|> close(%)
|
|
}
|
|
}
|
|
}
|
|
|
|
x = test()
|
|
x
|
|
|> extrude(-10, %)
|
|
|
|
x2 = test2()
|
|
x2.thing1.thing2
|
|
|> extrude(10, %)
|