Skip to content
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

Investigate supporting inlined records for the transparent-types feature #70

Open
lthms opened this issue Apr 20, 2021 · 0 comments
Open
Labels
enhancement New feature or request question Further information is requested

Comments

@lthms
Copy link
Member

lthms commented Apr 20, 2021

I suspect this is not possible, as I discussed in the commit message of 0f7cb66

Also, inlined records, that type of the form

    type u = U of { foo : bar }

are still not supported, and might never be supported due to the
restriction of OCaml regarding these types (embodied by the error
message “This form is not allowed as the type of the inlined record
could escape”).
@lthms lthms added enhancement New feature or request question Further information is requested labels Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant