Skip to content
This repository was archived by the owner on Aug 17, 2021. It is now read-only.

use ocaml-css-parser lib#93

Merged
dylanirlbeck merged 15 commits intodylanirlbeck:masterfrom
tatchi:ocaml-css-parser
Jun 24, 2020
Merged

use ocaml-css-parser lib#93
dylanirlbeck merged 15 commits intodylanirlbeck:masterfrom
tatchi:ocaml-css-parser

Conversation

@tatchi
Copy link
Copy Markdown
Collaborator

@tatchi tatchi commented May 22, 2020

Fixes #87

I was finally able to use a higher version of OCaml (4.9.1) and still have errors formatted properly as before (thanks to @jchavarri). The trick was to use the --embed-errors option.

There's still a native test which fails I'm not sure why...

Note: this PR is blocked by astrada/ocaml-css-parser#6

@dylanirlbeck
Copy link
Copy Markdown
Owner

dylanirlbeck commented May 22, 2020

@tatchi Nice!!! I'll review this soon, I'm super excited to up the OCaml version.

EDIT: I think I know which test is failing --- see the fix I implemented for #89 . Those changes are not upstream in css-parser, so using that as a dependency is breaking the test. I'll try to get the upstream PR merged in ASAP so a new version of css-parser can be published.

@tatchi
Copy link
Copy Markdown
Collaborator Author

tatchi commented May 23, 2020

EDIT: I think I know which test is failing --- see the fix I implemented for #89 . Those changes are not upstream in css-parser, so using that as a dependency is breaking the test. I'll try to get the upstream PR merged in ASAP so a new version of css-parser can be published.

Cool, let's wait for a new release of css-parser then :)

@tatchi
Copy link
Copy Markdown
Collaborator Author

tatchi commented May 24, 2020

@dylanirlbeck I bumped css-parser to the latest version 0.2.4 but the test still fails... Do you have any idea what might be the cause?

@tatchi
Copy link
Copy Markdown
Collaborator Author

tatchi commented May 25, 2020

I think the error comes from the comparison of the Location.Error exception. For now I changed the assertion to just make sure that an exception is thrown.

@tatchi
Copy link
Copy Markdown
Collaborator Author

tatchi commented Jun 1, 2020

@dylanirlbeck it builds now on windows but CI fails at a later stage: Get Esy UsePpx binary path. Any idea what might go wrong here?

@dylanirlbeck
Copy link
Copy Markdown
Owner

@tatchi Hmm I'm a bit lost on this one, especially because the test passes on Linux/Mac. I'll continue to investigate.. sorry for the delay on this, just started a new job haha

@dylanirlbeck
Copy link
Copy Markdown
Owner

dylanirlbeck commented Jun 5, 2020

@tatchi So I'm still stuck on this, and have posted on Discord in hopes of getting a response. What causes even more confusion is the fact that the same test passes in this PR, with the only difference between the two PRs being yours changes the OCaml version.

I'm very much confused.. as a sanity check you could drop the esy version on CI to 0.6.2 and see what happens? It might be worth a shot.

@tatchi tatchi mentioned this pull request Jun 8, 2020
@dylanirlbeck
Copy link
Copy Markdown
Owner

@tatchi See esy/esy#1096 (comment). Can you try the fix proposed in the comments by Manas?

@tatchi
Copy link
Copy Markdown
Collaborator Author

tatchi commented Jun 22, 2020

@dylanirlbeck looks like it fixes the issue :)

@dylanirlbeck
Copy link
Copy Markdown
Owner

@tatchi 🔥 🔥 🔥

I'm going to double-check to see if a new esy version is on the horizon, since I'm not sure if using the nightly build is super reliable -- just hang tight, I'll merge this in either way by the end of the week.

@tatchi
Copy link
Copy Markdown
Collaborator Author

tatchi commented Jun 23, 2020

@tatchi 🔥 🔥 🔥

I'm going to double-check to see if a new esy version is on the horizon, since I'm not sure if using the nightly build is super reliable -- just hang tight, I'll merge this in either way by the end of the week.

Nice :) Not sure what are you plan about #100 but once this one is merged, I can rebase #100 and there won't be any needs for nightly version of esy

@tatchi
Copy link
Copy Markdown
Collaborator Author

tatchi commented Jun 23, 2020

@dylanirlbeck esy 0.6.5 was just released so I switched back to the latest version (not the nightly one). I guess it should be ok :)

Copy link
Copy Markdown
Owner

@dylanirlbeck dylanirlbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, these changes LGTM! I’m going to go ahead and merge. The BS-specific stuff is above my head, but since it was taken from graphql-ppx I’m sure it’s fine!

@dylanirlbeck dylanirlbeck merged commit 7d251b4 into dylanirlbeck:master Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update OCaml version to 4.10

2 participants