[erlang-bugs] internal error in lint_module

Andreas Stenius erlang@REDACTED
Thu Aug 18 22:17:12 CEST 2016


Thanks Kostis, you were absolutely right.
The records looks much cleaner now, too btw ;)

//Andreas

On Wed, Aug 17, 2016 at 11:21 PM Kostis Sagonas <kostis@REDACTED> wrote:

> On 08/17/2016 10:31 PM, Andreas Stenius wrote:
> > Hi,
> >
> > When compiling attached file, I get an internal error from the
> > lint_module when using 19.0 (built from source, using kerl).
> >
>
> Wild guess:
>
> Most likely this is due to the internal representation of typed records
> which has changed in 19.0.  Looks like you generated this file with some
> older Erlang release and now you are trying to compile it with the 19.0
> compiler and the linter does not like this.  If you generate the file
> with a 19.x release, then most likely its subsequent compilation will work.
>
> Hope it helps,
>
> Kostis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20160818/cd21cebc/attachment.htm>


More information about the erlang-bugs mailing list