<div dir="ltr">Hi,<div><br></div><div>I noticed that a warning has been added to the compiler which says `undefined parse transform' instead of throwing a (potentially large) parse tree in the face of the user.  Nice!  This is the commit:</div><div><span class=""><br></span></div><div><span class="">dba5396</span><span class=""> compile: Give a friendler error message if a parse transform cannot be found</span><br></div><div><br></div><div>I discovered that is has an unfortunate side-effect:<br></div><div><br></div><div>If an existing parse transform calls a non-existing module, the check will misinterpret this and print the `undefined parse transform' error.</div><div><br></div><div>Tested with compiler-5.0.3 on Erlang/OTP 17.4.</div><div><br></div><div>Example parse transform:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>-module(x).</div></div><div><div><br></div></div><div><div>-compile(export_all).</div></div><div><div><br></div></div><div><div>parse_transform(_Forms, _Opts) -></div></div><div><div>    non:existing().</div></div></blockquote><div><br></div><div><br></div><div>Cheers,</div><div>Klas</div>







</div>