mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
Since it's not feasible to support annotated types in 1.6, we're making this an explicit error in 1.6, so that typeOf can become stable and this feature can be supported in the future without breaking changes to the existing code. Note that extension function types are a special case of annotated types. A separate error is created for them just because the message "annotated types are not supported" would be confusing, since such types don't have explicit annotations in the source code. #KT-29919