❔ Rider's "cleanup on save" adds named parameters seemingly at random
I have a function with this signature:
Then, when I call it like so:
Rider will automatically add a named parameter like
serialNum: ref serialNum,
. It only adds it to this particular parameter. I don't understand why?
I there's a particular reason I'm happy to keep it as is, but it just seems random. Anybody knows what's happening?2 Replies
I assume its because of your
GetTelemetryData()
signature, which is: GetTelemetryData( ref int serialNum, ...
. It sees it expects a reference, and therefore Rider passes the serialNum
as reference.Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.