Skip to content

Conversation

@WZhuo
Copy link
Contributor

@WZhuo WZhuo commented Dec 31, 2025

No description provided.

.literal = Literal::String("hello \" world"),
.expected_type_id = TypeId::kString,
.expected_string = "\"hello world\""},
.expected_string = "\"hello \\\" world\""},
Copy link
Member

Choose a reason for hiding this comment

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

Should it be escaped as hello%20%22%20world?

Copy link
Contributor Author

@WZhuo WZhuo Jan 5, 2026

Choose a reason for hiding this comment

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

I think it's somehow like json literal. true, false for bool type, 1234 for integer and also json dump for string type, "hello \" world"

@WZhuo WZhuo changed the title fix: escape for getting string literal fix: return raw string for StringType literal Jan 6, 2026
@WZhuo WZhuo closed this Jan 7, 2026
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