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

fix: ConfidenceValue.List can only contain single type #129

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Conversation

vahidlazio
Copy link
Contributor

No description provided.

@vahidlazio vahidlazio changed the title add the same types constructor for the list type in confidence value feat: Add the same types constructor for the list type in confidence value Apr 17, 2024
is Value.List -> {
// if types are different, return an empty list
if (this.list.map { it.javaClass.simpleName }.groupBy { it }.size > 1) {
ConfidenceValue.List(listOf())
Copy link
Member

Choose a reason for hiding this comment

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

I really wish we could log something here.

@nicklasl nicklasl changed the title feat: Add the same types constructor for the list type in confidence value fix: ConfidenceValue.List can only contain single type Apr 19, 2024
@nicklasl nicklasl merged commit c532f9f into main Apr 19, 2024
3 checks passed
@nicklasl nicklasl deleted the same-type-list branch April 19, 2024 07:16
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.

None yet

2 participants