StyLua icon indicating copy to clipboard operation
StyLua copied to clipboard

Typecasting gets removed if call_parentheses is `None`

Open PepeElToro41 opened this issue 1 year ago • 0 comments

When you call a function with a typecasting inside like this:

Foo({} :: SomeType)

The parentheses and the typecast gets removed, so the code formats like this:

Foo {}

PepeElToro41 avatar Oct 03 '24 11:10 PepeElToro41