Record selectors

Luke Gorrie <>
Mon Jan 13 11:48:07 CET 2003

Sean Hinde <> wrote:
> One further thought - we use the xref tool as part of our build
> process.  This is invaluable in discovering calls to undefined
> modules in corner cases (try calling error_logger:format("Aargh")
> ). If xref could be extended to find inconsistencies in use of
> records across a set of modules maybe that would be sufficient?

Just tried this in a few dirs in our system with
xref:d("lib/foo/ebin"). Within 2 minutes it found a bug (missing
-export) that looks like its been hiding for about 2 years :-)

Luke (printing the xref manual..)

More information about the erlang-questions mailing list