Open coreygirard opened 3 years ago
Very strange! Great SSCCE. Will circle back to this for the next compiler release.
Just came across similar behavior in simpler contexts:
f =
\t t -> 0
Detected problems in 1 module.
-- NAME CLASH -------------------------------------- src/Filename.elm
This anonymous function has multiple `t` arguments.
234| \t t -> 0
^
[tens of thousands of whitespace characters]
^
How can I know which one you want? Rename one of them!
f t t = 0
Detected problems in 1 module.
-- NAME CLASH -------------------------------------- src/Filename.elm
The `f` function has multiple `t` arguments.
233| f t t =
^
[tens of thousands of whitespace characters]
^
How can I know which one you want? Rename one of them!
Quick Summary: The compiler outputs pages of whitespace in the middle of reporting a name clash error
SSCCE
Source
Expected output
Received output