Skip to content

confusing error message when eval'ed function calls an undefined function #2

@zerth

Description

@zerth
-module(thingy).
-export([x/0]).
x() ->
  lists:foldl(fun (E, A) -> some_mod:xyz(E, A) end, [], [1, 2, 3]).
1> c(thingy),power_shell:eval(thingy,x,[]).
** exception error: undefined function lists:foldl/3
     in function  lists:foldl/3
     in call from thingy:x/0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions