Re: [elm-discuss] Unexpected error when parsing what seems to be reasonable code (Bug in parser maybe?)

2017-04-23 Thread Ilias Van Peer
If I'm not mistaken, this isn't so much about nested records as it is about referencing a qualified record in a record update expression. This seems related to - but not exactly the same thing as - https://github.com/elm-lang/elm-compiler/issues/1549 So yeah, you could either create a local

Re: [elm-discuss] Unexpected error when parsing what seems to be reasonable code (Bug in parser maybe?)

2017-04-23 Thread Peter Damoc
On Sat, Apr 22, 2017 at 11:50 AM, Dwayne Crooks wrote: > However, if I update the let bindings as follows: > > let >> defaultViewConfig = Rating.defaultViewConfig >> ratingViewConfig = >> { defaultViewConfig | readOnly = model.readOnly }

[elm-discuss] Unexpected error when parsing what seems to be reasonable code (Bug in parser maybe?)

2017-04-22 Thread Dwayne Crooks
Hi, The following snippet of code: view : Model -> Html Msg > view model = > let > ratingViewConfig = > { Rating.defaultViewConfig | readOnly = model.readOnly } > in > div [] > [ Html.map SetRatingState <| > Rating.view