aboutsummaryrefslogtreecommitdiff
path: root/dev/bugzilla2github_stripped.csv
diff options
context:
space:
mode:
authorGuillaume Melquiond2021-03-23 10:20:10 +0100
committerGuillaume Melquiond2021-03-23 10:26:34 +0100
commit01b061f0082a70f66016e78075a5952af8ed5431 (patch)
tree553a92be14949cf81f5520c177781c09a96997af /dev/bugzilla2github_stripped.csv
parent1f7875b9c457aad27cd5ee8bfe2dd12898926cb2 (diff)
Do not match on record types with mutable fields in function arguments.
This tends to confuse the OCaml compiler, for good reasons. Indeed, if there are mutable fields, the generated code cannot wait for the function to be fully applied. It needs to recover the value of the mutable fields as early as possible, and thus to create a closure. Example: let foo {bar} x = ... is compiled as let foo y = match y with {bar} -> fun x -> ...
Diffstat (limited to 'dev/bugzilla2github_stripped.csv')
0 files changed, 0 insertions, 0 deletions