Re: internal error in lint_module
Andreas Stenius <[email protected]> Thu, 18 Aug 2016 20:17:12 +0000
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <CABCxKrdc=zLA2yYUiBir2iZG7U7eZbwcZBL+OtoVJZB9kwBXwg@mail.gmail.com> |
--===============7763623296432571133== Content-Type: multipart/alternative; boundary=e89a8fb1ea8a0c990a053a5e4517 --e89a8fb1ea8a0c990a053a5e4517 Content-Type: text/plain; charset=UTF-8 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 <[email protected]> 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 > --e89a8fb1ea8a0c990a053a5e4517 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks Kostis, you were absolutely right.<br>The records l= ooks much cleaner now, too btw ;)<div><br></div><div>//Andreas</div><div><b= r><div class=3D"gmail_quote"><div dir=3D"ltr">On Wed, Aug 17, 2016 at 11:21= PM Kostis Sagonas <<a href=3D"mailto:[email protected]">[email protected].= gr</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi= n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/17/2016 10:= 31 PM, Andreas Stenius wrote:<br> > Hi,<br> ><br> > When compiling attached file, I get an internal error from the<br> > lint_module when using 19.0 (built from source, using kerl).<br> ><br> <br> Wild guess:<br> <br> Most likely this is due to the internal representation of typed records<br> which has changed in 19.0.=C2=A0 Looks like you generated this file with so= me<br> older Erlang release and now you are trying to compile it with the 19.0<br> compiler and the linter does not like this.=C2=A0 If you generate the file<= br> with a 19.x release, then most likely its subsequent compilation will work.= <br> <br> Hope it helps,<br> <br> Kostis<br> </blockquote></div></div></div> --e89a8fb1ea8a0c990a053a5e4517-- --===============7763623296432571133== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ erlang-bugs mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-bugs --===============7763623296432571133==--