WIP: Remove SDocs from ErrCtxt & ErrInfo
This MR:
-
turns the
SDoc
used inErrCtxt
into a proper error datatype,ErrCtxtMsg
, which contains all the different error contexts that can be added, -
removes the
SDoc
s inErrInfo
. The firstSDoc
is changed to[ErrCtxt]
, while the second isMaybe ErrInfoSupplementary
, whereErrInfoSupplementary
is a new datatype that only has two constructors:-
displaying extra context in a constraint solver message, such as hole fits and relevant constraints,
-
displaying name suggestions for an out of scope error.
-