Skip to content

Instantly share code, notes, and snippets.

@ericbmerritt
Created July 24, 2013 14:02
Show Gist options
  • Save ericbmerritt/6070848 to your computer and use it in GitHub Desktop.
Save ericbmerritt/6070848 to your computer and use it in GitHub Desktop.
quote do
result = case content_type do
unquote(clauses)
end
end
resulting in error:
Compiled lib/vaquero.ex
Generated vaquero.app
/usr/local/bin/mix test
** (SyntaxError) /Users/emerrit/workspace/vaquero/test/cowboy_test.exs:6: expected pairs with -> for key do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment