Thanks for answer José,
Not to happy about the solution,
because that will require that when code gets updated, we will have to
duplicate the changes, and we may forget to do that.
Is this a feature that could be added to Elixir, or its not there due
to technical limitations?
On Mon, 9 May 2016 08:57:13 +0200
José Valim <
jose....@plataformatec.com.br> wrote:
> It is not OK to read from the BEAM file. Typespecs are annotations,
> we are not supposed to rely on it during runtime, you will need to
> repeat the definition in your typespecs in your code as well.
>
>
>
> *José Valim*