Extend fixes of experimental errors to property & type alias
#KT-25525 Fixed #KT-25526 Fixed
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// "Add '@TopMarker' annotation to 'topUserVal'" "true"
|
||||
// COMPILER_ARGUMENTS: -Xuse-experimental=kotlin.Experimental
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Experimental
|
||||
annotation class TopMarker
|
||||
|
||||
@TopMarker
|
||||
class TopClass
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
@TopMarker
|
||||
annotation class TopAnn
|
||||
|
||||
@TopMarker
|
||||
val topUserVal: @TopAnn TopClass? = null
|
||||
Reference in New Issue
Block a user