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

assert: remove unreachable code #27840

Closed
wants to merge 1 commit into from
Closed

Commits on May 23, 2019

  1. assert: remove unreachable code

    There is only one entry in `kReadableOperator` that ends in `Unequal`.
    So the value assigned on line 392 can only be truthy if `operator` is
    `notDeepEqual`. Therefore, the ternary condition on line 394 is always
    true. Remove the ternary. Coverage reports confirm that the removed code
    is unused.
    Trott committed May 23, 2019
    Configuration menu
    Copy the full SHA
    dbfd01f View commit details
    Browse the repository at this point in the history