-
Notifications
You must be signed in to change notification settings - Fork 53
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
Eliom_shared_content not linked in client-side #275
Comments
My attempt to force a dependency (with a @Drup, can we just add unit arguments to the constant attributes inside TyXML? That's safer for complicated instantiations of the functor. |
I would rather avoid it, unless you really can't make it work at all. |
It is not just a question of linking. If I add this line to
we get an additional line in the browser log. It is a problem of client values appearing at the toplevel (and not produced by functions) inside Eliom. I haven't gone very deeply on the matter, but I suspect supporting such client values might be non-trivial. I have a TyXML branch and an Eliom branch (both named |
I don't understand, what's the problem with this line ? It should be supported just fine. @vasilisp Just use stable tyxml for now. |
"Should" be supported maybe, but it isn't. It leads to the following:
It is not the right time for the runtime cleanup that would resolve the above.
We will have to resolve such issues in batch, they don't just go away. In the interim, we will have to update numerous Jenkins configurations, and TyXML itself will be unusable, so it won't receive any testing. |
Do you have a solution for this? |
Any news? This bug makes it very difficult to work :/ |
No news. The fix has been there for a while, waiting to be merged :). |
@vasilisp You didn't do any PR. |
Since the recent changes in TyXML, Eliom_shared_content generates client-values (for constant reactive attributes, I think). However, no module depends on Eliom_shared_content client-side. Thus, it is not linked in, and we get error messages: "Code generating the following client values is not linked on the client".
And it is not possible to force a dependency from outside of Eliom, as the cmi file is not packaged.
A possible fix is to force a dependency of Eliom_content on Eliom_shared_content client-side.
The text was updated successfully, but these errors were encountered: