-
Notifications
You must be signed in to change notification settings - Fork 98
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
Longident.parse is deprecated #127
Comments
We should disable the alert in ppxlib. In the upcoming ppx project, we should stop using this function and also change the signature of this helper. The current method is too stringly typed. |
I've just seen this. With the change to Astlib, on new compilers I have indeed replaced |
IIRC, there is a function Put another way, I would expect a function |
Ok, I see. In |
Fedora Rawhide currently has a prerelease of OCaml 4.11. Building ppxlib now fails like so:
What is the right thing to do? Should I disable the alert and leave the code as is? Would it be correct to replace
(Longident.parse x)
with(Parse.longident (Lexing.from_string x))
?The text was updated successfully, but these errors were encountered: