Skip to content

Fix inclusion checks for primitives#23

Closed
lpw25 wants to merge 1 commit intoocaml-flambda:mainfrom
lpw25:fix-primitive-moregen
Closed

Fix inclusion checks for primitives#23
lpw25 wants to merge 1 commit intoocaml-flambda:mainfrom
lpw25:fix-primitive-moregen

Conversation

@lpw25
Copy link
Copy Markdown
Contributor

@lpw25 lpw25 commented May 23, 2022

The inclusion check implementation for primitives assumed that moregen forced modes to be equal, which is no longer the case. Replace it with an implementation that just checks both possible types.

@stedolan
Copy link
Copy Markdown
Collaborator

Looks good to me, but it would be good to avoid the code duplication in Ctype.instance_prim

@stedolan
Copy link
Copy Markdown
Collaborator

Closing in favour of oxcaml/oxcaml#661

@stedolan stedolan closed this May 24, 2022
antalsz pushed a commit to antalsz/ocaml-jst that referenced this pull request Mar 29, 2023
…a#23)

* Local allocation support for arrays and records

* Relax the Max_young_wosize constraint on local allocs

* Runtime support for local array allocations.

Includes a bugfix in realloc_local (wsize/bsize confusion).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants