-
Notifications
You must be signed in to change notification settings - Fork 284
transpile: Convert final return statement into tail expression #1497
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
base: master
Are you sure you want to change the base?
Conversation
|
I ran into an unexpected snag with this one: the |
kkysen
left a comment
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.
It seems this is passing c2rust-testsuite CI even though there are many errors, so something went wrong there. Ugh.
80842e4 to
d50212e
Compare
|
I was able to remove the semicolon-adding code from |
410e68d to
afaa014
Compare
a899517 to
4dbc629
Compare
4dbc629 to
a24257c
Compare
|
In order to solve #1506 I had to add another variant to the |
returnis stripped from end of statement expressions #1506.returnis emitted in final statement #1496.