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

fix behavio(u)r attributes validation on Erlang R20 #176

Merged
merged 1 commit into from
Jun 22, 2017

Conversation

RoadRunnr
Copy link
Contributor

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.

fixes #175

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.
@eproxus eproxus merged commit 7c5548e into eproxus:master Jun 22, 2017
@eproxus
Copy link
Owner

eproxus commented Jun 22, 2017

Very nice! Thanks!

eproxus added a commit that referenced this pull request Jun 28, 2017
@eproxus eproxus added the bug label Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

breaks on R20
2 participants