We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d17df05 commit ed1ddfdCopy full SHA for ed1ddfd
lib/elixir/pages/meta-programming/macros.md
@@ -223,7 +223,7 @@ It is important that a macro is defined before its usage. Failing to define a ma
223
224
```elixir
225
iex> defmodule Sample do
226
-...> def four, do: two + two
+...> def four, do: two() + two()
227
...> defmacrop two, do: 2
228
...> end
229
** (CompileError) iex:2: function two/0 undefined
0 commit comments