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

checkers: add sortSlice checker #929

Merged
merged 4 commits into from May 26, 2020
Merged

Commits on May 26, 2020

  1. checkers: add sortSlice checker

    Find suspicious sort slice calls.
    
    Sorting `slice` argument with a callback that uses
    another slice is usually incorrect, as only one
    slice will be modified by Slice call inplace.
    
    Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
    quasilyte committed May 26, 2020
    Configuration menu
    Copy the full SHA
    ad7ed59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f7aa40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a147e14 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b46cdb View commit details
    Browse the repository at this point in the history