Skip to content

[internals] Detect immediatly applied funs and change the error message accordingly #2

@Shakadak

Description

@Shakadak

investiguate this strange data

  1) test view with anonymous function, wrong arg (AnonymousFunctionViewTest)
     test/anonymous_function_view_test.exs:86
     ** (CaseClauseError) no case clause matching: {[1, 2, 3]}
     code: view [1, 2, 3] do
     stacktrace:
       test/anonymous_function_view_test.exs:90: (test)

Should display [1, 2, 3] instead of the same but wrapped in a 1-tuple.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions