Reported by @aleklisi on erlanger.slack.com. Here's how to reproduce.
Create a new library:
Within it create the following module:
$ cd mylib
$ cat src/z.erl
-module(z).
f() ->
erlang:apply(m, f, [1,2,3]).
Add Gradualizer as a Rebar3 plugin and run:
Compare with:
The latter returns info that m and f don't exist, but Gradualizer doesn't.