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

quantity item should extend number item #189

Merged

Conversation

querdenker2k
Copy link
Collaborator

When a NumberGroupItem has Quantity GroupItems as well there will be class cast exceptions because currently a NumberGroupItem expects that all childs are NumberItems.
Letting QuantityItem extend NumberItem will resolve this.

Copy link
Owner

@seaside1 seaside1 left a comment

Choose a reason for hiding this comment

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

Looks good.

@seaside1 seaside1 merged commit 4d4d6c5 into seaside1:main Feb 16, 2024
1 check passed
@querdenker2k querdenker2k deleted the let-quantityitem-extend-numberitem branch February 22, 2024 20:37
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