[erlang-bugs] Linter support for packages

Joern opendev@REDACTED
Mon Sep 3 14:35:16 CEST 2007


Dear erlang-bugs,

following a conversation with Ulf Wiger I'd like to request a
modification of the linter to emit warnings if a non-namespaced module
is used in a namespaced module without a fitting import. I am aware
that namespace / packages are not officially supported but they are
part of the official OTP distribution after all.

This is especially a problem with trivial (and therefore usually not
test covered) case such as

_ -> error_logger:error_msg("...")

where the error that error_logger is not defined in the current
namespace will obfuscate the reason for the crash or produce the crash
all by itself.

With best regards,


Joern



More information about the erlang-bugs mailing list