Skip to content

A compiler (warning?) message could be clearer #8599

Open
@michaelklishin

Description

@michaelklishin

When gen_batch_server is compiled with erlc from Erlang/OTP 26.2.x, the compiler emits the following:

gen_batch_server.erl:269: Warning: INFO: receive matches any message, this is always fast
gen_batch_server.erl:323: Warning: INFO: receive matches any message, this is always fast

I find this message to not be particularly helpful. Two specific complaints:

  1. Is this a warning? is this an info message? It says both
  2. This is likely meant to be a warning but it says "this is always fast" which is usually something to strive for

So what is this message trying to tell me? With the current wording I have to guess.

Metadata

Metadata

Assignees

Labels

enhancementhelp wantedIssue not worked on by OTP; help wanted from the communityteam:VMAssigned to OTP team VM

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions