This repository was archived by the owner on Jul 11, 2023. It is now read-only.
forked from oubiwann/lfest
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
Can't upgrade Erlang 17.5-based apps to use latest LFE #4
Copy link
Copy link
Open
Description
Seems there's a regression from LFE v1.2 to v1.3 such that one or more YAWS records in yaws/include/yaws_api.hrl can't be compiled by LFE. The rebar3 stack trace I get when trying to run the tests is the following:
===> Uncaught error: {case_clause,
{error,
{undef,
[{erl_internal,is_type,[frag_type,0],[]},
{lfe_lint,check_type_name,3,
[{file,
"/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"},
{line,357}]},
{lfe_lint,check_type_def,4,
[{file,
"/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"},
{line,339}]},
{lfe_lint,collect_form,2,
[{file,
"/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"},
{line,208}]},
{lists,foldl,3,
[{file,"lists.erl"},{line,1261}]},
{lfe_lint,collect_module,2,
[{file,
"/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"},
{line,192}]},
{lfe_lint,check_module,2,
[{file,
"/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"},
{line,176}]},
{lfe_lint,module,2,
[{file,
"/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"},
{line,163}]}]}}}
===> Stack trace to the error location:
[{lr3_comp,compile,3,
[{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"},
{line,27}]},
{rebar_base_compiler,compile_each,3,
[{file,"/opt/rebar3-3.10.0/src/rebar_base_compiler.erl"},
{line,185}]},
{lr3_comp,'-compile_normal_app/1-lc$^0/1-0-',4,
[{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"},
{line,65}]},
{lr3_comp,compile_normal_app,1,
[{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"},
{line,65}]},
{lr3_comp,'-compile_normal_apps/1-lc$^0/1-0-',1,
[{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"},
{line,47}]},
{lr3_comp,compile_normal_apps,1,
[{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"},
{line,47}]},
{rebar_core,do,2,[{file,"/opt/rebar3-3.10.0/src/rebar_core.erl"},{line,154}]},
{rebar_hooks,run_provider_hooks_,6,
[{file,"/opt/rebar3-3.10.0/src/rebar_hooks.erl"},{line,48}]}]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels