FE: add tests for KT-53966 (positive/negative)
This commit is contained in:
committed by
Space Team
parent
12a083af25
commit
5a9e8b3c0a
+13
@@ -0,0 +1,13 @@
|
||||
// FILE: SamInterface.java
|
||||
|
||||
public interface SamInterface {
|
||||
public boolean foo(String arg);
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
class Wrapper(val si: SamInterface?)
|
||||
|
||||
fun test(w: Wrapper?) {
|
||||
Wrapper(w?.let { it.si })
|
||||
}
|
||||
Reference in New Issue
Block a user