Skip to content

Commit ed2ff6a

Browse files
committed
Fix expression-tag pairing inside with type checking
1 parent c64a035 commit ed2ff6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/module/types/expr.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ defmodule Module.Types.Expr do
555555

556556
defp with_clause({:<-, _meta, [left, right]} = expr, stack, context) do
557557
{pattern, guards} = extract_head([left])
558-
{_type, context} = Pattern.of_match(pattern, guards, dynamic(), :with, expr, stack, context)
558+
{_type, context} = Pattern.of_match(pattern, guards, dynamic(), expr, :with, stack, context)
559559
{_, context} = of_expr(right, stack, context)
560560
context
561561
end

0 commit comments

Comments
 (0)