Instead it parses and gives me a nonsensical type mismatch:
-- TYPE MISMATCH ---------------------------------------------------------------
The definition of `foo` does not match its type annotation.
8| foo : () String Float
9| foo =
10|> ( "foo", 3.2 )
The type annotation for `foo` says it is a:
( String, Float )
But the definition (shown above) is a:
( String, Float )
I'd expect this to give me a parsing error:
Instead it parses and gives me a nonsensical type mismatch: