-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
render optional args as ?name: type
instead of name: option<type>
#1297
Conversation
?name: type
instead of name: option<type>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I had a nit and I'd love to see a test to ensure we don't regress this.
Looks like we do have a test: |
Yes, sorry. I tried to come up with a test but expecto and me, man, we are no friends. |
Hey @baronfel , is there anything still missing here? |
Nope, lovely change! Thank you for sending it! |
Sure, FSAC is absolutely rocking it! |
before:
after:
We already do this in the status bar of VsCode/Ionide.
The line lens is still wrong, but one thing at a time :)