Skip to content

Fix keywords conflicts#459

Merged
sebastienros merged 4 commits intomainfrom
sebros/keywords
Jan 12, 2022
Merged

Fix keywords conflicts#459
sebastienros merged 4 commits intomainfrom
sebros/keywords

Conversation

@sebastienros
Copy link
Copy Markdown
Owner

No description provided.

@sebastienros sebastienros enabled auto-merge (squash) January 12, 2022 18:55
@sebastienros sebastienros merged commit 6d80882 into main Jan 12, 2022
@sebastienros sebastienros deleted the sebros/keywords branch January 12, 2022 18:56
{
switch ((x.Segments[0] as IdentifierSegment).Identifier)
{
case "empty": return new LiteralExpression(EmptyValue.Instance);
Copy link
Copy Markdown
Collaborator

@lahma lahma Jan 12, 2022

Choose a reason for hiding this comment

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

would it make sense to have internal static fields, for like return LiteralExpression.EmptyValue?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Yes, these are immutable.

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