Extend fixes of experimental errors to property & type alias

#KT-25525 Fixed
#KT-25526 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-08-21 15:43:27 +03:00
parent f6571effcc
commit 4113a6fd6a
8 changed files with 104 additions and 1 deletions
@@ -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