json icon indicating copy to clipboard operation
json copied to clipboard

Doesn't compile if a decoder for a recursive structure is not defined at top level

Open malidukica opened this issue 4 years ago • 0 comments

I wasn't sure if this should be reported in elm/compiler or here, but it is a curious case, and I lost some hours trying to figure out why it won't work and rewriting it until I moved the decoder to top level.

A contrived example can be found at: https://ellie-app.com/bjMK9h2bvDga1

malidukica avatar Oct 21 '20 20:10 malidukica