You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I confirm it's also somewhat related the the same issue as #13. and #14 can fix the error, although it's still not well tidied. For example,
use 5.014;
use Function::Parameters;
fun foo (: $x = 1, : $y = 2) {
say"$x, $y";
}
Without #14 you get an error with perltidier. With #14 the error is gone, but the signatures are not tidied at all. It would be ideal to tidy it to like below,
Signatures are not tidied for any of the keywords (as mentioned in docs). I'm open to adding that, but it would take quite a bit of work. Patches are welcome!
Like the named parameters as described at https://metacpan.org/pod/Function::Parameters#Named-parameters
The text was updated successfully, but these errors were encountered: