Skip to content
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

Wrong check for immutable string in string-ref? #7

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Closed

Wrong check for immutable string in string-ref? #7

GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

(string->ref "abc" 1)

won't return #\b as expected but complain with
ERROR: string-ref: immutable string: "abc"

I guess the respective check in eval.c line 1477 is not correct for string-ref.

Original issue reported on code.google.com by hvel...@googlemail.com on 4 Nov 2009 at 8:55

@GoogleCodeExporter
Copy link
Author

Oops, indeed, thanks for catching this.

Original comment by alexsh...@gmail.com on 4 Nov 2009 at 9:55

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant