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

Remove special overriding logic for explicit nulls #22243

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

HarrisL2
Copy link
Contributor

Fixes #22071

@olhotak
Copy link
Contributor

olhotak commented Dec 19, 2024

The changes LGTM, but we'll need to get the CI running first.

There we see:

object creation impossible, since def compareTo(x$0: T | Null): Int in trait Comparable in package java.lang is not defined

The type of x should become a flexible type, not T | Null. So the question is why doesn't it become a flexible 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.

remove special overriding logic that was added for explicit nulls
3 participants