sasa1977 / exactor

Helpers for simpler implementation of GenServer based processes
MIT License
683 stars 23 forks source link

`export:` only accept atom. #24

Closed Kabie closed 7 years ago

Kabie commented 7 years ago

I wish it could be used like export: @name or export: __MODULE__.

But it gives:

** (CaseClauseError) no case clause matching: {:__MODULE__, [line: 16], nil}
    lib/exactor/operations.ex:644: ExActor.Operations.server_ref/2
    lib/exactor/operations.ex:632: ExActor.Operations.gen_server_args/3
    lib/exactor/operations.ex:572: ExActor.Operations.define_interface/5
    lib/exactor/operations.ex:483: ExActor.Operations.def_request/3
    lib/core/player_manager.ex:16: (module)