You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/elixir/test/elixir/module/types/integration_test.exs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -487,7 +487,7 @@ defmodule Module.Types.IntegrationTest do
487
487
dynamic(
488
488
%Date{} or %DateTime{} or %NaiveDateTime{} or %Time{} or %URI{} or %Version{} or
489
489
%Version.Requirement{}
490
-
) or atom() or binary() or empty_list() or float() or integer() or non_empty_maybe_improper_list(term(), term())
490
+
) or atom() or binary() or float() or integer() or maybe_improper_list(term(), term())
491
491
492
492
where "data" was given the type:
493
493
@@ -511,7 +511,7 @@ defmodule Module.Types.IntegrationTest do
511
511
dynamic(
512
512
%Date{} or %DateTime{} or %NaiveDateTime{} or %Time{} or %URI{} or %Version{} or
513
513
%Version.Requirement{}
514
-
) or atom() or binary() or empty_list() or float() or integer() or non_empty_maybe_improper_list(term(), term())
514
+
) or atom() or binary() or float() or integer() or maybe_improper_list(term(), term())
515
515
516
516
where "data" was given the type:
517
517
@@ -551,7 +551,7 @@ defmodule Module.Types.IntegrationTest do
551
551
dynamic(
552
552
%Date.Range{} or %File.Stream{} or %GenEvent.Stream{} or %HashDict{} or %HashSet{} or
553
553
%IO.Stream{} or %MapSet{} or %Range{} or %Stream{}
554
-
) or empty_list() or fun() or non_empty_maybe_improper_list(term(), term()) or non_struct_map()
554
+
) or fun() or maybe_improper_list(term(), term()) or non_struct_map()
555
555
556
556
where "date" was given the type:
557
557
@@ -580,7 +580,7 @@ defmodule Module.Types.IntegrationTest do
580
580
but expected a type that implements the Collectable protocol, it must be one of:
581
581
582
582
dynamic(%File.Stream{} or %HashDict{} or %HashSet{} or %IO.Stream{} or %MapSet{}) or binary() or
583
-
empty_list() or non_empty_maybe_improper_list(term(), term()) or non_struct_map()
583
+
maybe_improper_list(term(), term()) or non_struct_map()
584
584
585
585
hint: the :into option in for-comprehensions use the Collectable protocol to build its result. Either pass a valid data type or implement the protocol accordingly
0 commit comments