-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
We are using both this library (which is great, thanks by the way!) and the Oban.Pro library but there is a naming collision among module attributes between these two for :decorated causing compilation errors since functions that are decorated using Oban.Pro are appearing in an unexpected format inside the Decorator code gen causing the following error:
** (FunctionClauseError) no function clause matching in anonymous fn/1 in Decorator.Decorate.decorated_functions/1
The following arguments were given to anonymous fn/1 in Decorator.Decorate.decorated_functions/1:
# 1
{:my_function, [{:args, [line: 254, column: 35], nil}], [], []}
(decorator 1.4.0) lib/decorator/decorate.ex:55: anonymous fn/1 in Decorator.Decorate.decorated_functions/1
(elixir 1.18.2) lib/enum.ex:1429: anonymous fn/4 in Enum.group_by/3
(elixir 1.18.2) lib/enum.ex:2546: Enum."-group_by/3-lists^foldl/2-0-"/3
(decorator 1.4.0) lib/decorator/decorate.ex:53: Decorator.Decorate.decorated_functions/1
(decorator 1.4.0) expanding macro: Decorator.Decorate.before_compile/1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels