Skip to content

Fix __FUNCTION__#15

Merged
stedolan merged 1 commit intoocaml-flambda:mainfrom
lpw25:fix-function-prim
Apr 19, 2022
Merged

Fix __FUNCTION__#15
stedolan merged 1 commit intoocaml-flambda:mainfrom
lpw25:fix-function-prim

Conversation

@lpw25
Copy link
Copy Markdown
Contributor

@lpw25 lpw25 commented Apr 7, 2022

(partial) should only be added to scopes when primitives are eta-expanded, i.e. not for primitives of arity 0 like __FUNCTION__.

Fixes a bug introduced by oxcaml/oxcaml#248

@stedolan stedolan merged commit 9f879de into ocaml-flambda:main Apr 19, 2022
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.

3 participants