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

trying to share/publish a constant value fails #5

Open
UnixJunkie opened this issue Feb 8, 2019 · 3 comments
Open

trying to share/publish a constant value fails #5

UnixJunkie opened this issue Feb 8, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@UnixJunkie
Copy link
Collaborator

this is kind of a stupid use case, but since users are not preventing from doing it by the type system...
Not sure it can be supported though.

@UnixJunkie UnixJunkie added the bug Something isn't working label Feb 8, 2019
@UnixJunkie
Copy link
Collaborator Author

maybe Is_in_heap_or_young should be replaced by Is_in_value_area from
https://github.com/ocaml/ocaml/blob/d3e73595e55e84250fa77f04e9c239dee1224b7b/runtime/caml/address_class.h
Not sure it is safe to do so, though.

@UnixJunkie
Copy link
Collaborator Author

e.g.

let _ = Ancient.share shm key 12345 in

@UnixJunkie
Copy link
Collaborator Author

@rwmjones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant