Skip to content

Commit b432bfe

Browse files
Ljznjosevalim
authored andcommitted
code mistake (elixir-lang#830)
1 parent 944ad31 commit b432bfe

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

getting-started/meta/macros.markdown

+6-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,12 @@ And it then returned a quoted expression as follows:
7474

7575
{% raw %}
7676
```elixir
77-
{:if, [], [
78-
{:!, [], [true]},
79-
{{:., [], [IO, :puts], [], ["this should never be printed"]}}]}
77+
{:if, [],
78+
[{:!, [], [true]},
79+
[do: {{:., [],
80+
[{:__aliases__,
81+
[], [:IO]},
82+
:puts]}, [], ["this should never be printed"]}]]}
8083
```
8184
{% endraw %}
8285

0 commit comments

Comments
 (0)