Closed tribbloid closed 9 months ago
My intended solution is to introduce new plugin option Vtype-diffs-detail
that takes an integer:
TypeDiagnostics.withDisambiguation
(a builtin function) when compiling error information for type diff and binary type constructor>=
4: ALWAYS attach original compiler error text@tek what do you think?
3 canonical examples are:
In all 3 cases, the type text
Long
is ambivalent (in either referring to higher kind argumentLong
, or typeLong
). This may cause apparently inhabited types likeX <:< X
,X =:= X
andX|X
to be reported as invalid.