I've confirmed the Spring error on CI is valid:
/tmp/spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/aot/DefaultBeanRegistrationCodeFragments.java:75: error: [NullAway] Cannot assign from type SingletonSupplier<InstantiationDescriptor> to type Supplier<InstantiationDescriptor> due to mismatched nullability of type parameters
This is because SingletonSupplier<T> extends Supplier<@Nullable T> (here). Though the error is valid, it's also incomprehensible; the type parameters look the same! Let me think about if we can do something better.
Originally posted by @msridhar in #1266 (comment)
I've confirmed the Spring error on CI is valid:
This is because
SingletonSupplier<T>extendsSupplier<@Nullable T>(here). Though the error is valid, it's also incomprehensible; the type parameters look the same! Let me think about if we can do something better.Originally posted by @msridhar in #1266 (comment)