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

Type function instance intersect<T?, ~(false?)> is uninhabited #1666

Closed
JohnnyMorganz opened this issue Feb 15, 2025 · 1 comment · Fixed by #1699
Closed

Type function instance intersect<T?, ~(false?)> is uninhabited #1666

JohnnyMorganz opened this issue Feb 15, 2025 · 1 comment · Fixed by #1699
Assignees
Labels
bug Something isn't working new solver This issue is specific to the new solver.

Comments

@JohnnyMorganz
Copy link
Contributor

local function printOptional<T>(item: T?, printer: (T) -> string): string
	if item then
		return printer(item)
	else
		return ""
	end
end
@JohnnyMorganz JohnnyMorganz added the bug Something isn't working label Feb 15, 2025
@aatxe aatxe added the new solver This issue is specific to the new solver. label Feb 16, 2025
@realkastien
Copy link

The same issue here

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new solver This issue is specific to the new solver.
Development

Successfully merging a pull request may close this issue.

3 participants