com-lihaoyi / fastparse

Writing Fast Parsers Fast in Scala
https://com-lihaoyi.github.io/fastparse
MIT License
1.09k stars 164 forks source link

Implement fix for #296 #297

Closed reid-spencer closed 7 months ago

reid-spencer commented 8 months ago

Simply replace '"fail"' with 'msg' to use the provided custom error message

Additionally:

lihaoyi commented 8 months ago

Seems like there's some issues with integration tests missing files; not sure why that's happening, given the tests use pinned SHAs for the external repositories they clone.

reid-spencer commented 7 months ago

Seems like there's some issues with integration tests missing files; not sure why that's happening, given the tests use pinned SHAs for the external repositories they clone.

Yes. I have been able to find the errors now (lots of output!) and confirm two errors in the scalaparse: apache/kafka test case. I checked the SHA used in the test case and it exists in the corresponding github repository so Apache hasn't rebuilt the repo or anything. I don't know why this is happening either.

🤷🏼‍♂️

lihaoyi commented 7 months ago

Sounds good. Regardless of why, it's probably unrelated to this PR

reid-spencer commented 7 months ago

I concur. My sequence of events for this closed PR are:

So, it seems like github is having some inconsistency with accessing the test source repositories.

In any event, the master branch now has the fix on it but it won't auto-release as a result of the inconsistency. I'm okay with using a local build. I'll file an issue for delving into this CI/build issue more significantly.