Eliah-Lakhin / ad-astra

Scripting language for Rust.
https://ad-astra.lakhin.com/
80 stars 0 forks source link

Inline Function Formatter Bug #3

Open Eliah-Lakhin opened 1 month ago

Eliah-Lakhin commented 1 month ago

In the following code:

let x = fn() [1, 2, 3];

The formatter incorrectly removes the whitespace between the function definition and the array, resulting in:

let x = fn()[1, 2, 3];