Skip to content

Remove flag gating for 3.3.0 bug fixes#2200

Merged
kddnewton merged 1 commit intomainfrom
remove-gating-for-bug-fixes
Jan 17, 2024
Merged

Remove flag gating for 3.3.0 bug fixes#2200
kddnewton merged 1 commit intomainfrom
remove-gating-for-bug-fixes

Conversation

@kddnewton
Copy link
Copy Markdown
Collaborator

@kddnewton kddnewton commented Jan 17, 2024

Fixes #2163

@kddnewton kddnewton merged commit b86aad3 into main Jan 17, 2024
@kddnewton kddnewton deleted the remove-gating-for-bug-fixes branch January 17, 2024 15:51
Comment thread src/prism.c
pm_index_target_node_t *node = PM_ALLOC_NODE(parser, pm_index_target_node_t);
pm_node_flags_t flags = target->base.flags;

if (parser->version != PM_OPTIONS_VERSION_CRUBY_3_3_0) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I know this gating was removed but I wonder if we want inequality for this by default with specific equality when it is locked to something specific.

parser->version >= PR_OPTIONS_VERSION_CRUBY_3_3

It is pretty likely we will see ranges doing <= and >= if something appears then is removed later. Just a drive-by comment.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

That makes sense - I'll keep that in mind going forward.

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.

No way to get bug fixes + set version to 3.3 (so exclude 3.4 syntax)

2 participants