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

if=>when to unread number token symbols #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bmiww
Copy link

@bmiww bmiww commented Feb 4, 2024

Replacing "if" with "when" during "read-json-number-token"

This was causing issues in SBCL when spamming the stream - seemingly since the unread-char would break the stream sequence.

The issue still persists, but it was possible to spam the stream a lot more before breaking (in my case it's a unix socket connected stream).

This is honestly rather dumb, and feels like SBCL is doing something weird in case of "if" (since "when" should technically still macroexpand to if), but since based on CL spec - this should be of no difference, i'm just going to leave this here.

This was causing crashes in sbcl when spamming the stream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant