Skip to content

Conversation

@zhjwpku
Copy link
Collaborator

@zhjwpku zhjwpku commented Jan 10, 2026

No description provided.

}

Result<bool> IsBoundVisitor::AlwaysTrue() { return true; }
Result<std::optional<bool>> IsBoundVisitor::AlwaysTrue() { return std::nullopt; }
Copy link
Member

Choose a reason for hiding this comment

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

I think the Java impl is overly complicated to return null by default and then a lot of places should handle null with different meanings.

Copy link
Member

Choose a reason for hiding this comment

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

What about letting each visitors to handle this instead of complicating the return type?

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