[FIR] Add EXPOSED_SUPER_(CLASS/INTERFACE) checker
This commit is contained in:
committed by
Mikhail Glukhikh
parent
ef09850df8
commit
49593d308c
@@ -2,11 +2,11 @@ private interface My
|
||||
|
||||
private open class Base
|
||||
|
||||
public interface Your: My {
|
||||
public interface Your: <!EXPOSED_SUPER_INTERFACE!>My<!> {
|
||||
fun <T: Base> foo(): T
|
||||
}
|
||||
|
||||
public class Derived<T: My>(<!EXPOSED_PARAMETER_TYPE!>val <!EXPOSED_PROPERTY_TYPE!>x<!>: My<!>): Base() {
|
||||
public class Derived<T: My>(<!EXPOSED_PARAMETER_TYPE!>val <!EXPOSED_PROPERTY_TYPE!>x<!>: My<!>): <!EXPOSED_SUPER_CLASS!>Base<!>() {
|
||||
|
||||
constructor(<!EXPOSED_PARAMETER_TYPE!>xx: My?<!>, <!EXPOSED_PARAMETER_TYPE!>x: My<!>): this(xx ?: x)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user