Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for parameterized modules #2

Open
richcarl opened this issue Jul 28, 2011 · 0 comments
Open

No support for parameterized modules #2

richcarl opened this issue Jul 28, 2011 · 0 comments

Comments

@richcarl
Copy link
Owner

Reported by Joern Barthel.

When compiling parameterized modules an exception is thrown.

Example:

-module(foo, [ Bar ]).
-compile([export_all]).
-include_lib("eunit/include/eunit.hrl").

foo() ->
Bar.

foo_test() ->
?assertMatch("foo!", (foo:new("foo!")):foo().

Exception:

./foo.erl:none: error in parse transform 'eunit_autoexport': {{badarg,{foo,['Bar
']}},
[{packages,concat_1,1},
{eunit_autoexport,rewrite,2},
{eunit_autoexport,rewrite,2},
{compile, '-foldl_transform/2-anonymous-2- ', 2},
{compile,foldl_transform,2},
{compile, '-internal_comp/4-anonymous-1-', 2},
{compile,fold_comp,3},
{compile,internal_comp,4}]}
error

Environment:
R11B-5 win32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant