Skip to content

Commit 7e14961

Browse files
committed
Fix expression-tag pairing inside with type checking
1 parent 6dbb932 commit 7e14961

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
@@ -518,7 +518,7 @@ defmodule Module.Types.Expr do
518518

519519
defp with_clause({:<-, _meta, [left, right]} = expr, stack, context) do
520520
{pattern, guards} = extract_head([left])
521-
{_type, context} = Pattern.of_match(pattern, guards, dynamic(), :with, expr, stack, context)
521+
{_type, context} = Pattern.of_match(pattern, guards, dynamic(), expr, :with, stack, context)
522522
{_, context} = of_expr(right, stack, context)
523523
context
524524
end

0 commit comments

Comments
 (0)