-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conflict of is_struct with Kernel.is_struct #4
Comments
Instead of renaming |
Removing is no option, as that would break compatibility with Elixir versions below 1.10. Also the Kernel version operates on an actual struct while the helper here operates on a module, which makes this whole point moot. I suggest to rename to |
cool @sascha-wolf , done #5 |
Closed in #5 |
Hello! I was trying to use Brex within an app using:
On MacOS
10.15.4
And I got an error of compilation of Brex because of a conflict on is_struct defined in
Brex.Rule.Struct
at line32
.I have solved the issue and got the compiler to pass by changing it from is_struct to is_a_struct and changing the function name in that file so that there is no conflict. Do you think that it would make sense to open a PR?
The text was updated successfully, but these errors were encountered: