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

do not warn for compiler generated operators #439

Closed
wants to merge 1 commit into from

Conversation

pooya
Copy link

@pooya pooya commented Jul 27, 2014

The following program

bar() ->
    [{foo, hello:world() == bar}], ok.

warns about the unused '=:=' operator which the compiler replaces '==' with.

@OTP-Maintainer
Copy link

The summary line of the commit message is too long and/or ends with a "."
Make sure the whole message follows the guidelines here: https://github.com/erlang/otp/wiki/Writing-good-commit-messages.


I am a script, I am not human


1 similar comment
@OTP-Maintainer
Copy link

The summary line of the commit message is too long and/or ends with a "."
Make sure the whole message follows the guidelines here: https://github.com/erlang/otp/wiki/Writing-good-commit-messages.


I am a script, I am not human


The following program

    bar() ->
        [{foo, hello:world() == bar}], ok.

warns about the unused '=:=' operator which the compiler replaces '==' with.
@pooya pooya changed the title sys_core_fold: avoid generating warning for compiler generated operators do not warn for compiler generated operators Jul 27, 2014
@OTP-Maintainer
Copy link

Patch has passed first testings and has been assigned to be reviewed


I am a script, I am not human


@bjorng
Copy link
Contributor

bjorng commented Aug 1, 2014

No.

Suppressing the warning entirely is not OK.

@bjorng bjorng closed this Aug 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants