Skip to content

Commit ce99828

Browse files
committed
add note
1 parent f9dedf6 commit ce99828

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/ml/printtyp.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,6 +1391,8 @@ let explanation unif t3 t4 ppf =
13911391
These polymorphic variants are incompatible - they share no common \
13921392
constructors."
13931393
| [], true, (_ :: _ as fields), _ ->
1394+
(* TODO(ai) Future opportunity to provide a way for an LLM to lookup the
1395+
full polyvariant type definitions if wanted.*)
13941396
let constructors_txt =
13951397
if List.length fields = 1 then "constructor" else "constructors"
13961398
in

0 commit comments

Comments
 (0)