Skip to content

Commit 2e1a7c8

Browse files
committed
Protocol in comprehensions
1 parent d1c1c62 commit 2e1a7c8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/elixir/test/elixir/module/types/integration_test.exs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,7 @@ defmodule Module.Types.IntegrationTest do
473473
474474
it has type:
475475
476-
-dynamic(
477-
%Date{year: term(), month: integer(), day: float() or integer(), calendar: Calendar.ISO} or
478-
%Date{year: term(), month: term(), day: term(), calendar: term()}
479-
)-
476+
-dynamic(%Date{year: term(), month: term(), day: term(), calendar: term()})-
480477
481478
but expected a type that implements the Collectable protocol, it must be one of:
482479

0 commit comments

Comments
 (0)