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
but expected a type that implements the Enumerable protocol, it must be one of:
455
+
456
+
%Date.Range{} or %File.Stream{} or %GenEvent.Stream{} or %HashDict{} or %HashSet{} or
457
+
%IO.Stream{} or %MapSet{} or %Range{} or %Stream{} or fun() or list(term()) or non_struct_map()
458
+
459
+
where "date" was given the type:
460
+
461
+
# type: dynamic(%Date{})
462
+
# from: a.ex:2:24
463
+
%Date{} = date
429
464
430
-
hint: String.Chars is a protocol in Elixir. Either make sure you give valid data types as arguments or implement the protocol accordingly
465
+
hint: for-comprehensions in Elixir use the Enumerable protocol to traverse data structures. Either convert the data type into a list (or another Enumerable) or implement the protocol accordingly
0 commit comments