Skip to content
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

Use const modifier when dealing with types #3064

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

dcodeIO
Copy link
Contributor

@dcodeIO dcodeIO commented Aug 20, 2020

As a follow-up to #3012 (comment), this PR

@dcodeIO
Copy link
Contributor Author

dcodeIO commented Aug 20, 2020

There are more occasions throughout the code base where a similar change might be applicable, yet a quick search for \bauto\b gives 3467 results and I'm hesitating a bit to look at each unless you want me to :) If that's the case, I'd appreciate a quick primer on where to const and where not to const.

@tlively
Copy link
Member

tlively commented Aug 20, 2020

yeah no, doing this for just the types is absolutely fine 👍

@tlively tlively merged commit af87f23 into WebAssembly:master Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants