Hello,
I’m doing some stuff with xref
and I stumbled upon this piece of code at xred_reader.erl:71
:
#xrefr{module = M, def_at = DefAt,
l_call_at = LCallAt, x_call_at = XCallAt,
el = LC, ex = XC, x = X, df = Depr, on_load = OnLoad,
lattrs = AL, xattrs = AX, battrs = B, unresolved = U} = S,
OL = case OnLoad of
undefined -> [];
F ->
[{M, F, 0}]
end,
#xrefr{def_at = DefAt,
l_call_at = LCallAt, x_call_at = XCallAt,
el = LC, ex = XC, x = X, df = Depr, on_load = OnLoad,
lattrs = AL, xattrs = AX, battrs = B, unresolved = U} = S,
...
Why do we need last expression?