Skip to content

Conversation

@Loghorn
Copy link
Contributor

@Loghorn Loghorn commented Oct 2, 2018

This PR has no associated issue because it's a very small refactoring aiming to simplify the code and is not a bug or a feature. I was reading TypeScript source code and noticed it and I don't think it's worth opening an issue for it.

Remove unneeded argName check, because it always evaluates to true (the false case is handled just before the modified line)

Remove unneeded `argName` check, because it always evaluates to `true` (the `false` case is handled just before the modified line)
@RyanCavanaugh RyanCavanaugh merged commit 0d92bd5 into microsoft:master Oct 2, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants