-
Notifications
You must be signed in to change notification settings - Fork 6
Removed the Raise commands and embedded error_extensionf for unsupported payload error #35
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
Conversation
|
Hey @Anu-123-gif, thanks for your work, it looks very good! Btw, don't worry about the CI! It doesnt' seem like the reason why the CI is failing is related to your PR. There seem to go wrong two things:
And just one detail about the code: as already said, it looks very good! One thing that might be nice improving would be to factor out the creation of the error extension node into a separate function and use that function at the places where the error occurs. What do you think? |
|
Oh, I've just remembered that I didn't know what "CI" was when I started my Outreachy internship. The scope of "CI" depends a bit on each project; here, I was just referring to the testing mechanism you can see below: you can see below that "PR number update" has passed, whereas "ocaml-ci" has failed. ocaml-ci tests the changes made in PRs in an automated way, e.g. it checks if the code is formatted and if the tests keep on passing. |
|
I agree it looks good! I would add that it might be worth it to also remove the |
Hey @pitag-ha, I actually missed doing that. I'll run that now!
Yes, I haven't done that before, I'll sure try that.
Yes, I do think that would be really effective allowing us to reuse the code. I'll try to think about how to bring about that change. |
Yeah, I totally agree, I haven't removed them as some of the errors are still using them right now. After embedding |
I ran the command but I found |
|
Hey @Anu-123-gif , to format your code, you first need to install ocamlformat.0.19.0 . Do you already know how to install Ocaml packages? Or do you want me to give more detail? |
Hey @pitag-ha I will Google this up and I'll ask if I have doubts . I had a request btw, I have an exam tomorrow so I will not be able to work on this PR for a few hours . So could you please consider my contribution tomorrow as well. I'll definitely finish work on this PR tomorrow positively. |
|
Thanks for taking the time to work on this! Are you interested in picking this up? The PR can't be merged in its current state and I unfortunately can't push changes to your upstream branch to wrap it up quickly. Please let me know if you'd like to finish this otherwise I'll have to close this to re-open a separate PR myself. Either options are fine by me so don't feel pressured into finishing it if you don't want to! |
|
I'm closing this in favor of #44 |
Hey @ayc9 & @pitag-ha
I have removed the
Raisecommands and embeddederror_extensionffor all errors (except 3-4 which are creating issues) in this PR.