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

Fix 1154 #1252

Merged
merged 3 commits into from
Feb 19, 2023
Merged

Fix 1154 #1252

merged 3 commits into from
Feb 19, 2023

Conversation

MegaIng
Copy link
Member

@MegaIng MegaIng commented Feb 16, 2023

Fixes #1154

The problem is that the .raw attribute wasn't being serialized. Now it is, so it should remove this particular problem. Also contains a test that should detect general problems in the error message generation as well.

@erezsh
Copy link
Member

erezsh commented Feb 16, 2023

LGTM

@ornariece Does this fix your use-case?

@ornariece
Copy link
Contributor

@erezsh yup it does! thanks for the quick fix @MegaIng.

@erezsh erezsh merged commit 2564232 into lark-parser:master Feb 19, 2023
@MegaIng MegaIng deleted the fix-1154 branch March 16, 2023 16:23
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.

exception str() failed in UnexpectedCharacters because of 'PatternRE' has no attribute 'raw'
3 participants