Open joonazan opened 6 years ago
In Elm 0.18
module Main exposing (..) type alias Record a = { content : a } draw : Record Int -> Int draw y = let ( x, _ ) = y.content in x
produces
`y` does not have a field named `content`. The type of `y` is: Record Int Which does not contain a field named `content`.
Instead, it should complain about y.content not being a tuple.
y.content
In Elm 0.18
produces
Instead, it should complain about
y.content
not being a tuple.