This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix behavio(u)r attributes validation on Erlang R20
R20 now checks whether behavio(u)r attribute contains a valid module name. The attributes content was simply take from module_info/0. However, module_info/0 contains a list of behavior and the attribute should only contain as single module name. Expand the list of behavio(u)rs into a list of attrbiutes to make erl_lint happy.
- Loading branch information
Showing 1 changed file with 15 additions and 3 deletions.