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
** (Protocol.UndefinedError) protocol Enumerable not implemented for nil of type Atom. This protocol is implemented for the following type(s): Date.Range, File.Stream, Function, GenEvent.Stream, HashDict, HashSet, IO.Stream, List, Map, MapSet, Range, Stream
(elixir 1.15.5) lib/enum.ex:1: Enumerable.impl_for!/1
(elixir 1.15.5) lib/enum.ex:166: Enumerable.reduce/3
(elixir 1.15.5) lib/enum.ex:4387: Enum.map/2
(elixir 1.15.5) lib/code/normalizer.ex:453: Code.Normalizer.normalize_kw_blocks/4
(elixir 1.15.5) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(elixir 1.15.5) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(elixir 1.15.5) lib/code/normalizer.ex:387: Code.Normalizer.normalize_call/2
#cell:xqr6v7wgxvcifsqmtk6ey3tu6afg6umg:1: (file)
Putting the quote block in a variable outside the pipeline fixes this issue. I think this may both be a styler and Elixir issue, as styler somehow creates invalid AST and Elixir does not give any helpful error / stacktrace.
The text was updated successfully, but these errors were encountered:
Hi there, I'm running into a Styler and/or Elixir bug trying to format the code included in the LiveBook below.
Versions
Example Input
See https://gist.github.com/SteffenDE/6d9d076a10cb802fc78356e6ff4212f2
Stacktrace / Current Behaviour
Putting the quote block in a variable outside the pipeline fixes this issue. I think this may both be a styler and Elixir issue, as styler somehow creates invalid AST and Elixir does not give any helpful error / stacktrace.
The text was updated successfully, but these errors were encountered: