- Inserted additional check for equality types in check_mode_clause that   avoids ill-typed code to be generated. - Mode inference algorithm now outputs additional diagnostic messages.
- Inserted additional check for equality types in check_mode_clause that
  avoids ill-typed code to be generated.
- Mode inference algorithm now outputs additional diagnostic messages.

MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle