Skip to content

Commit 65ec108

Browse files
committed
Use private context for generated variables inside with
1 parent 0f6c9d1 commit 65ec108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/src/elixir_with.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ translate(_Meta, Args, S) ->
4848
{TC, elixir_scope:mergec(S, TS)}.
4949

5050
build_cases([{'<-', Meta, [Left, Right]} | Rest], DoExpr) ->
51-
Other = {'other', Meta, nil},
51+
Other = {'other', Meta, ?MODULE},
5252
Clauses = [
5353
{'->', Meta, [[Left], build_cases(Rest, DoExpr)]},
5454
{'->', Meta, [[Other], Other]}

0 commit comments

Comments
 (0)