Skip to content

Instantly share code, notes, and snippets.

@le0pard
Created June 26, 2014 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save le0pard/affc3f945f32b2c05ce1 to your computer and use it in GitHub Desktop.
Save le0pard/affc3f945f32b2c05ce1 to your computer and use it in GitHub Desktop.
Elixir 0.4.1 error
case worker_record do
record = WorkerRecord[at: at, at_queue: at_queue] when is_number(at) and at > timestamp and is_bitstring(at_queue) ->
# do something
_ ->
# do something
end
## I get error:
## cannot invoke remote function Access.get/2 inside match
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment