Skip to content

[Go] Fix BitSet OR operation - #3427

Merged
parrt merged 1 commit into
antlr:masterfrom
jcking:go-bitset-fix
Dec 23, 2021
Merged

parrt merged 1 commit into
antlr:masterfrom
jcking:go-bitset-fix

Conversation

@jcking

@jcking jcking commented Dec 22, 2021

Copy link
Copy Markdown
Collaborator

I originally missed the case where set.data was small than b.data, which would lead to a panic. This resolves that.

@jcking

jcking commented Dec 22, 2021

Copy link
Copy Markdown
Collaborator Author

@parrt

@KvanTTT

KvanTTT commented Dec 22, 2021

Copy link
Copy Markdown
Member

Could you please cover your change with a unit test?

@jcking

jcking commented Dec 22, 2021

Copy link
Copy Markdown
Collaborator Author

Could you please cover your change with a unit test?

Done.

@jcking

jcking commented Dec 22, 2021

Copy link
Copy Markdown
Collaborator Author

Actually, wait. Need to fix.

@KvanTTT

KvanTTT commented Dec 22, 2021

Copy link
Copy Markdown
Member

Maybe also add a grammar sample?

@jcking

jcking commented Dec 22, 2021

Copy link
Copy Markdown
Collaborator Author

Okay, now its good. The test is more exhaustive and I cleaned them up to be less repetative.

@parrt parrt added this to the 4.9.4 milestone Dec 23, 2021
@parrt

parrt commented Dec 23, 2021 •

Copy link
Copy Markdown
Member

looks like some conflicts after i merged my new test rig. I merged #3421 as a test in my test rig branch but then reversed with a commit. it looks like it left some cruft around. resolved manually, pushed.

@parrt
parrt merged commit e3b190f into antlr:master Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants