Closed joshsh closed 5 years ago
Any insight into this issue?
I've replaced the undefined
's with proper implementations and you test case appears to work and give the same result across GHC and Eta. Feel free to file new issues if you encounter any more issues with the regex-posix
patch.
You can update etlas via ./gradlew updateEtlas
and do a clean build with gradle.
Thank you; this works.
From Gitter:
Joshua Shinavier @joshsh 15:06 can someone shed some light on the following stack trace:
the program in question runs normally when executed with stack exec, but throws this error when executed via gradle-eta
Joshua Shinavier @joshsh 15:49 it appears at the point in the program when file output occurs. File input succeeds. FWIW, an earlier version of this program (including the file output) ran via gradle-eta without problems.
Joshua Shinavier @joshsh 16:28 probably related to regex matching as opposed the file I/O itself. Here is more of the stack trace:
Rahul Muttineni @rahulmutt 22:40 @joshsh It could be referring to a unimplemented function in regex-posix - I just checked the patch and observed that there are some undefined’s sprinkled throughout so they need to be implemented. If possible, can you make a minimal example that causes this problem? I can go ahead and implement those. Do file an issue with the minimal example so that I can close it to let you know it’s been fixed.
Joshua Shinavier @joshsh 23:14 @rahulmutt, the following example reproduces the issue:
this is via gradle-eta with: