boss_record_compiler doesn't work in Erlang R17

32 views
Skip to first unread message

Evgeny M

unread,
Nov 15, 2014, 9:31:18 AM11/15/14
to chica...@googlegroups.com
Can't compile models with Erlang 17.3. No problems with R16B03-1 and R15. Parse transform for pmods doesn't work with R17?

$ erl -pa ebin/ deps/aleppo/ebin/
Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V6.2  (abort with ^G)
1> crypto:start().
ok
2> application:start(boss_db).
ok
3> boss_record_compiler:compile("puppy.erl").
{error,[{"puppy.erl",
         
[{0,erl_lint,{unbound_var,'Abc'}},
         
{0,erl_lint,{unbound_var,'Abc'}},
         
{0,erl_lint,{unbound_var,'Abc'}},
         
{0,erl_lint,{unbound_var,'BreedId'}},
         
{0,erl_lint,{unbound_var,'BreedId'}},
         
{0,erl_lint,{unbound_var,'BreedId'}},
         
{0,erl_lint,{unbound_var,'Id'}},
         
{0,erl_lint,{unbound_var,'Id'}},
         
{0,erl_lint,{unbound_var,'Id'}},
         
{0,erl_lint,{unbound_var,'Name'}},
         
{0,erl_lint,{unbound_var,'Name'}},
         
{0,erl_lint,{unbound_var,'Name'}},
         
{0,erl_lint,{unbound_var,'THIS'}},
         
{0,erl_lint,{unbound_var,'THIS'}},
         
{0,erl_lint,{unbound_var,'THIS'}},
         
{0,erl_lint,{unbound_var,'THIS'}},
         
{0,erl_lint,{unbound_var,'THIS'}},
         
{1,erl_lint,pmod_unsupported}]}],
       
[]}
4>


Caiyun Deng

unread,
Nov 15, 2014, 11:33:14 AM11/15/14
to chica...@googlegroups.com
I have another problem about aleppo: https://github.com/ChicagoBoss/aleppo/issues/6

在 2014年11月15日星期六UTC+8下午10时31分18秒,Evgeny M写道:
Reply all
Reply to author
Forward
0 new messages