Skip to content

Instantly share code, notes, and snippets.

@rramsden
Created December 20, 2013 05:40
Show Gist options
  • Save rramsden/8050836 to your computer and use it in GitHub Desktop.
Save rramsden/8050836 to your computer and use it in GitHub Desktop.
v0.11.0
-------
defmodule A do
def :!.() do
"bang!"
end
end
{:module, Test, .....}
v0.12.0
-------
defmodule A do
def :!.() do
"bang!"
end
end
** (SyntaxError) iex:2: invalid syntax in def :!.()
src/elixir_def.erl:61: :elixir_def.store_definition/5
src/elixir_compiler.erl:59: :elixir_compiler."-eval_forms/4-fun-0-"/6
src/elixir_compiler.erl:58: :elixir_compiler.eval_forms/4
src/elixir_module.erl:117: :elixir_module.eval_form/5
src/elixir_module.erl:45: :elixir_module.compile/5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment