-
-
Notifications
You must be signed in to change notification settings - Fork 609
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
Size t dtoh #10862
Size t dtoh #10862
Conversation
|
Thanks for your pull request, @UplinkCoder! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#10862" |
|
This needs a test. |
|
Ah right my bad forgot to add it.
Am Mi., 4. März 2020 um 10:00 Uhr schrieb Nicholas Wilson <
notifications@github.com>:
… This needs a test.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10862?email_source=notifications&email_token=AAVWSCCXLS5OEHJX6L3IE33RFYKDTA5CNFSM4LA7VIO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENW5VQI#issuecomment-594401985>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVWSCFO3YIENDF3V2SIAZ3RFYKDTANCNFSM4LA7VIOQ>
.
|
|
@thewilsonator done! |
| @@ -726,8 +729,17 @@ public: | |||
| visit(cast(AST.Dsymbol)ad); | |||
| return; | |||
| } | |||
|
|
|||
| // for function pointers we need to original 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.
Sentence seems (incomplete), or missing a bit (in the) middle.
| @@ -1667,7 +1682,12 @@ public: | |||
| if (i) | |||
| buf.writestring(", "); | |||
| auto fparam = AST.Parameter.getNth(tf.parameterList.parameters, i); | |||
| if (fparam.type == AST.Type.tsize_t && originalType) | |||
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.
I suspect this comparison to size_t will need to be turned into a function.
should treat
size_tas a special alias and emit it