Skip to content

Commit

Permalink
Fix unsafe, enable when showing doc. Fixes: #3614
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jan 5, 2024
1 parent a64945b commit 5f7d556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/builtins/builtins_sqlite.ml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let insert_value_constr =
(fun ~subtype:_ ~satisfies b ->
let rec check typ =
match (deref typ).descr with
| Var _ -> satisfies b
| Var _ -> satisfies typ
| Nullable typ -> check typ
| Custom { typ = Ground.Float.Type }
| Custom { typ = Ground.Int.Type }
Expand Down
1 change: 1 addition & 0 deletions src/runtime/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ let load_libs () =

let lang_doc name =
run_streams := false;
Typing.do_occur_check := false;
load_libs ();
try Lang_string.kprint_string ~pager:true (Doc.Value.print name)
with Not_found -> Printf.printf "Plugin not found!\n%!"
Expand Down

0 comments on commit 5f7d556

Please sign in to comment.