List Info

Thread: Linter support for packages




Linter support for packages
user name
2007-09-03 07:35:16
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
_______________________________________________
erlang-bugs mailing list
erlang-bugserlang.org
ht
tp://www.erlang.org/mailman/listinfo/erlang-bugs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )