Issue with frontier patterns #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
-- Lua 5.2 Reference Manual, §6.4.1
In the reference interpreter (Lua 5.3.4), the code belows prints a blank line and nil, indicating that the first pattern matched ('o' is not in [%.], but '.' is) and that the second one didn't.
In LuaJ 3.0.1, however, the code fails with
Thanks for the bug report.
Unfortunately, this repo is just an in-official mirror of the original luaj repo which is hosted over at SourceForge (https://sourceforge.net/projects/luaj/). This repo was my humble attempt to migrate the sources from the old CVS archives whilst preserving all of the commit history.
I tried to contact Ian Farmer and James Roseborough (the original luaj authors) a bunch of times, because I wanted to hand over the ownership of the GitHub organization (luaj) and the project (luaj).
Unfortunately -- as of today -- I was not able to reach them... :-(
(Long story short: I am not a luaj maintainer/committer and I am not able to cut any new releases which might end up in Maven Central or elsewhere,... so please don't be disappointed if I won't be able to triage your issue, provide fixes or release a patched version of luaj)
No problem; thanks for the explanation.
@headcr4sh it's a shame this project is no longer officially maintained. maybe jitpack.io could be an option to provide jar files from this repository? I have some other patches I could contribute (mostly build-system related).
@jberkel
Well,... since neither Ian nor James have answered to my contact requests so far, it might be a viable alternative to keep this unofficial fork alive by just working on it nevertheless.
If you are interested in pushing the project forward (jitpack.io might indeed be an option, since no-one I know would be able to push artifacts under the org.luaj groupId to Maven central) I am willing to merge in any useful changes. The original history of the original authors is preserved and I don't think it would do any harm...
I will make sure that the README file gets adjusted to make it absolutely clear that this repo is a fork without any contributions / knowledge of the original authors so far, to make sure that no more false assumptions are being made.
@headcr4sh cool, I'll revisit my patches and then submit a PR here.
@headcr4sh I noticed that your mirror is missing two changes from the CVS:
Ok. Thanks for the information. I'll try to convert these two commits once I find the time (if anyone else with cvs2git knowledge kann provide a PR I'd also gladly merge that one)
I don't think you can update via cvs2git, so you might need to do a reimport. I don't remember which tool I used for the conversion, you can find the repo here, maybe it could be used as a base: https://gitlab.com/jberkel/luaj
I think I found where the issue is. Here is a patch:
I would create PR once #4 is resolved.
As for the commits. This could be easily fix once the source forge is back online. I've created new issue to track this better #5
@plamentotev
I think You can now make PR.
@Enyby to be honest I forgot the details about this issue. I may take a look at it again but not sure if I would have time soon. Feel free to use the patch and create PR if you want.