Skip to content

Have Selector::isValid() actually return a bool #1043

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

Closed
oliverklee opened this issue Mar 1, 2025 · 0 comments · Fixed by #1174
Closed

Have Selector::isValid() actually return a bool #1043

oliverklee opened this issue Mar 1, 2025 · 0 comments · Fixed by #1174

Comments

@oliverklee
Copy link
Collaborator

Currently, is returns int<0, max>|false.

We also need to add test coverage for this method and add a native return type declaration.

oliverklee added a commit that referenced this issue Mar 1, 2025
The return type of `::isValid()` cannot use a native
return type declaration yet as the method's return values
currently are of a different type (#1043).

Part of #811
oliverklee added a commit that referenced this issue Mar 1, 2025
The return type of `::isValid()` cannot use a native
return type declaration yet as the method's return values
currently are of a different type (#1043).

Part of #811
JakeQZ pushed a commit that referenced this issue Mar 1, 2025
The return type of `::isValid()` cannot use a native
return type declaration yet as the method's return values
currently are of a different type (#1043).

Part of #811
@oliverklee oliverklee self-assigned this Mar 16, 2025
oliverklee added a commit that referenced this issue Mar 16, 2025
oliverklee added a commit that referenced this issue Mar 16, 2025
@JakeQZ JakeQZ closed this as completed in 4d965b3 Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant