-
Notifications
You must be signed in to change notification settings - Fork 17
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
Redefining for-each makes STklos crash (?) #367
Comments
Ah - the same happens with
|
Hello @jpellegrini , I'm trying to correct this problem, and it is not so simple (Iit implies numerous modifications in the library). More news, when I have finished. |
Ok, no problem! |
Hi @jpellegrini, I think I have (finally) finished with this issue. Correcting it necessitates a big reorganization of the Anyway, it seems to be OK now.However, I will commit the bug fix with the new macros, since I have started to work on my current version and back porting it to the Github version, would be too long. |
Boot should now be OK. Functions are now defined (and not copied) in the SCHEME module. That means that the functions used by a closure are searched in the SCHEME module. This should fix the first problem exposed in @jpellegrini Issue #367.
Hi @egallesio ! I see the new macro code was pushed! That's great! 🎆 And I see also that there is a fix to this issue. I'll check my implementation of SRFI-125 (which is where this issue first appeared) and get back to tell if it works now. |
Hi Jeronimo, Yes it should work now. Tel me. |
I have re-written SRFI-125 without using the "current binding of" Scheme symbols, and it doesn't override them until they're exported, so that works fine. Also, STklos doesn't crash anymore when |
Boot should now be OK. Functions are now defined (and not copied) in the SCHEME module. That means that the functions used by a closure are searched in the SCHEME module. This should fix the first problem exposed in @jpellegrini Issue egallesio#367.
Hi @egallesio !
Look what happened:
I suppose that the code that accesses variable values uses whatever the current version of
for-each
is. Or is this something else?If it helps, here's the stacktrace (from gdb):
Also, I tried this:
That should definitely have worked...
The text was updated successfully, but these errors were encountered: