We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I have been using ex_cont and find it to be very useful. However, I discovered if I define the following: enum test do only_one_entry 0 end
then a compile error "undefined function only_one_entry/1 (there is no such import)" happens.
My workaround is to change the enum like so:
enum test do only_one_entry 0 unused 0xFFFF end
and never use the second entry.
The text was updated successfully, but these errors were encountered:
As an addendum to my previous comments, I found that writing the enum in the form:
enum test, do: [only_one_entry: 0]
works.
Sorry, something went wrong.
As you figured out, the syntax in your last comment is the correct one.
No branches or pull requests
Hi,
I have been using ex_cont and find it to be very useful. However, I discovered if I define the following:
enum test do
only_one_entry 0
end
then a compile error "undefined function only_one_entry/1 (there is no such import)" happens.
My workaround is to change the enum like so:
enum test do
only_one_entry 0
unused 0xFFFF
end
and never use the second entry.
The text was updated successfully, but these errors were encountered: