[K2] Violation of OPT_IN_USAGE_ERROR non-propagating opt-in rules for typealias
^KT-62451
This commit is contained in:
committed by
Space Team
parent
6d446abe12
commit
4c9ad970ff
@@ -111,6 +111,7 @@ public abstract class User {
|
||||
public final fun withSome(/*0*/ some: Some? = ...): kotlin.Unit
|
||||
public final fun Some?.onSome(): kotlin.Unit
|
||||
}
|
||||
@Marker public typealias AList = kotlin.collections.ArrayList<I>
|
||||
public typealias My = Some
|
||||
@kotlin.OptIn(markerClass = {Marker::class}) public typealias MyList = kotlin.collections.ArrayList<I>
|
||||
@Marker public typealias YourList = kotlin.collections.ArrayList<kotlin.String>
|
||||
|
||||
Reference in New Issue
Block a user