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

Be explicit about steps to avoid warnings #1085

Closed
wants to merge 1 commit into from

Commits on Nov 8, 2023

  1. Be explicit about steps to avoid warnings

    Lots of warnings like this one on elixir 1.16.0-rc.0:
    
    ```
    warning: negative steps are not supported in Enum.slice/2, pass 0..-2//1 instead
      (elixir 1.16.0-rc.0) lib/enum.ex:2994: Enum.slice/2
      (credo 1.7.0) lib/credo/check/consistency/multi_alias_import_require_use/collector.ex:27: Credo.Check.Consistency.MultiAliasImportRequireUse.Collector.traverse/2
      (elixir 1.16.0-rc.0) lib/macro.ex:637: anonymous fn/4 in Macro.do_traverse_args/4
      (stdlib 5.1.1) lists.erl:1706: :lists.mapfoldl_1/3
      (stdlib 5.1.1) lists.erl:1707: :lists.mapfoldl_1/3
    ```
    
    Thanks for all the great work! :green-heart:
    PragTob committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    5adc947 View commit details
    Browse the repository at this point in the history