Skip to content

Deal with bad offset for identifier #7793

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

Merged
merged 2 commits into from
May 18, 2025
Merged

Conversation

bhansconnect
Copy link
Member

Advance can advance more than one position.
It will skip newlines.
As such, we need to get the correct offset here.

@bhansconnect bhansconnect requested a review from gamebox May 17, 2025 19:51
Advance can advance more than one position.
It will skip newlines.
As such, we need to get the correct offset here.
@bhansconnect bhansconnect force-pushed the bhansconnect/push-ltlytlqrmnmx branch from ae12ca5 to 4f9fc42 Compare May 17, 2025 19:52
@bhansconnect bhansconnect enabled auto-merge May 17, 2025 19:56
(malformed_header (1:1-1:2) "missing_header")
(type_anno (1:3-2:3)
"b"
(mod_ty "S" "")))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this still seem wrong? Now the type identifier doesn't come through in the SExpr. Or is that a SExpr serialization problem?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, good catch. Let met test more

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be all good now. Changed how we track the tokens.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, this looks much better here, but I definitely want to fix the way that we intern the strings for Dot* tokens so that the dot is not interned.

@bhansconnect bhansconnect merged commit e8ee976 into main May 18, 2025
23 checks passed
@bhansconnect bhansconnect deleted the bhansconnect/push-ltlytlqrmnmx branch May 18, 2025 10:34
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.

2 participants