Support SinceKotlinInfo for deserialized classes

This commit is contained in:
Alexander Udalov
2016-12-14 19:18:59 +03:00
parent 6393ac5871
commit ede60efda5
2 changed files with 13 additions and 9 deletions
@@ -73,6 +73,9 @@ class DeserializedClassDescriptor(
(containingDeclaration as? DeserializedClassDescriptor)?.thisAsProtoContainer
)
val sinceKotlinInfo: SinceKotlinInfo?
get() = SinceKotlinInfo.create(classProto, c.nameResolver, c.sinceKotlinInfoTable)
override val annotations =
if (!Flags.HAS_ANNOTATIONS.get(classProto.flags)) {
Annotations.EMPTY