Provide a diagnostic when @Serializable annotation is missing on enum.

It is required when enum members contain some special annotations which should be recorded in descriptor.
Due to some recursive/lazy resolve problems, compiler plugin frontend can't infer @Serializable on enum automatically, therefore, we ask a user to explicitly provide it.

Also fix ir tests
This commit is contained in:
Leonid Startsev
2019-10-14 15:55:36 +03:00
parent 3c9a02e271
commit e89aabbba1
10 changed files with 150 additions and 37 deletions
@@ -962,4 +962,4 @@ public final class User : java/lang/Object {
public final java.lang.String getFirstName()
public final java.lang.String getLastName()
}
}