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

Error compiling on elixir 1.10 #10

Closed
ConnorRigby opened this issue Mar 2, 2020 · 2 comments
Closed

Error compiling on elixir 1.10 #10

ConnorRigby opened this issue Mar 2, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ConnorRigby
Copy link

== Compilation error in file lib/shmex_native.ex ==
** (ArgumentError) could not call Module.delete_attribute/2 because the module Shmex.Native is in read-only mode (@after_compile)
    (elixir 1.10.2) lib/module.ex:2093: Module.assert_not_readonly!/2
    (elixir 1.10.2) lib/module.ex:1285: Module.delete_attribute/2
    (bundlex 0.2.7) lib/bundlex/loader.ex:45: Bundlex.Loader.__after_compile__/2
    (stdlib 3.11.2) lists.erl:1263: :lists.foldl/3
    (stdlib 3.11.2) erl_eval.erl:680: :erl_eval.do_apply/6

@bblaszkow06 bblaszkow06 added the bug Something isn't working label Mar 3, 2020
@bblaszkow06 bblaszkow06 self-assigned this Mar 3, 2020
@bblaszkow06
Copy link
Member

Thanks for the report! It seems it's a bug in Bundlex and before 1.10 Module.delete_attribute/2 failed silently -> membraneframework/bundlex#54

@bblaszkow06
Copy link
Member

Fixed in 34507e4 and released as v0.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants