Skip to content

Commit 68852aa

Browse files
committed
chore: add missing clause for previous changes
1 parent aeada21 commit 68852aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ash/expr/expr.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,9 @@ defmodule Ash.Expr do
11611161
match?({:ok, {determined_type, _}} when determined_type != type, determined_type) ->
11621162
{:halt, :error}
11631163

1164+
match?({:ok, _}, determined_type) ->
1165+
{:cont, Map.update!(acc, :types, &[elem(determined_type, 1) | &1])}
1166+
11641167
Ash.Expr.expr?(value) ->
11651168
{:cont, Map.update!(acc, :types, &[{type, constraints} | &1])}
11661169

0 commit comments

Comments
 (0)