Skip to content

Commit 1927fee

Browse files
committed
Fix type error
1 parent af6e4b7 commit 1927fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ocaml/typing/typecore.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5865,7 +5865,7 @@ let create_merlin_type_error_node loc env ty_expected ~attributes =
58655865
Location.mkloc (Longident.Lident "*type-error*") loc,
58665866
{ Types.
58675867
val_type = ty_expected;
5868-
val_kind = Val_reg (Jkind.Sort.new_var ~level:(Ctype.get_current_level ()));
5868+
val_kind = Val_reg;
58695869
val_loc = loc;
58705870
val_attributes = [];
58715871
val_uid = Uid.internal_not_actually_unique;

0 commit comments

Comments
 (0)