FE 1.0: spread OptIn markers to children except fake override case

#KT-49001 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-09-21 16:18:10 +03:00
committed by TeamCityServer
parent 3045a5e920
commit 69e06a242a
5 changed files with 31 additions and 103 deletions
@@ -84,7 +84,7 @@ object O {
operator fun provideDelegate(x: Any?, y: Any?): C = C()
}
val x: String by <!OPT_IN_USAGE_FUTURE_ERROR!>O<!>
val x: String by <!OPT_IN_USAGE_ERROR, OPT_IN_USAGE_FUTURE_ERROR!>O<!>
@Marker
class OperatorContainer : Comparable<OperatorContainer> {