Skip to content

Bugfix for primitive inclusion #662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ocaml/typing/includecore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let primitive_descriptions pd1 pd2 =
Some (No_alloc First)
else if pd1.prim_alloc && (not pd2.prim_alloc) then
Some (No_alloc Second)
else if pd1.prim_c_builtin && pd2.prim_c_builtin then
else if not (Bool.equal pd1.prim_c_builtin pd2.prim_c_builtin) then
Some Builtin
else if not (Primitive.equal_effects pd1.prim_effects pd2.prim_effects) then
Some Effects
Expand Down