Take into account SimpleTypeWithEnhancement and subtyping related places
^KT-47854 Fixed
This commit is contained in:
committed by
teamcityserver
parent
6ab632f6ad
commit
3eaa452f9e
Vendored
+2
-1
@@ -1,4 +1,5 @@
|
||||
// JSPECIFY_STATE: warn
|
||||
// !LANGUAGE: +TypeEnhancementImprovementsInStrictMode
|
||||
// FILE: J1.java
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -13,4 +14,4 @@ import org.jspecify.nullness.Nullable;
|
||||
public interface J2<V extends @Nullable Object> extends J1<V> { }
|
||||
|
||||
// FILE: kotlin.kt
|
||||
private fun J2<*>.bar() = J1.foo(this)
|
||||
private fun J2<*>.bar() = J1.foo(this)
|
||||
Reference in New Issue
Block a user