-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Remove warning of duplicated error code #28666
Conversation
@GuillaumeGomez can you be more specific about what this does, for posterity? Is there an open issue for the correction here? |
It just removes the warning that the E0015 error code appears more than one in the code:
|
I think the function (and the use of Session) should be closer in scope to the actual place it's used, since it's very specific for this situation and shouldn't be used elsewhere. Once const functions stabilize we can refactor it out. On that note, it might be interesting to add a |
The more idiomatic thing to do here is to use a single |
You're hard on business haha ! I moved the function to a more little scope as suggested. |
Squash and use better names for the parameters (e.g. pass |
0d941ff
to
22f7e96
Compare
@arielb1: Done ! |
@bors r+ rollup |
📌 Commit 22f7e96 has been approved by |
@bors r- Sorry, |
22f7e96
to
08181d2
Compare
Updated ! |
@bors r+ rollup |
📌 Commit 08181d2 has been approved by |
r? @Manishearth