@@ -481,6 +481,21 @@ problemToHint problem =
481 T.Tuple _ _ _ -> badRigidSuper super "a tuple"
481 T.Tuple _ _ _ -> badRigidSuper super "a tuple"
482 T.Alias _ n _ _ -> badRigidSuper super ("a `" ++ N.toString n ++ "` value")
482 T.Alias _ n _ _ -> badRigidSuper super ("a `" ++ N.toString n ++ "` value")
484+ T.FieldsMissing fields ->
485+ case map (D.green . D.fromName) fields of
490+ [ D.toFancyHint ["Looks","like","the",f1,"field","is","missing."]
495+ ["Looks","like","fields"] ++ D.commaSep "and" id fieldDocs ++ ["are","missing."]
484 T.FieldTypo typo possibilities ->
499 T.FieldTypo typo possibilities ->
485 case Suggest.sort (N.toString typo) N.toString possibilities of
500 case Suggest.sort (N.toString typo) N.toString possibilities of
@@ -492,6 +507,9 @@ problemToHint problem =
492 ,D.dullyellow (D.fromName typo),"should","be"
507 ,D.dullyellow (D.fromName typo),"should","be"
493 ,D.green (D.fromName nearest) <> "?"
508 ,D.green (D.fromName nearest) <> "?"
511+ "Can more type annotations be added? Type annotations always help me give\
512+ \ more specific messages, and I think they could help a lot in this case!"