Don't build light classes for local classes with parse errors (KT-24323, EA-107235)

Also use checks for building light classes in `getLightClassDataHolder`.
This commit is contained in:
Nikolay Krasko
2018-05-08 17:51:53 +03:00
parent 15a704fe36
commit 062a212b61
6 changed files with 113 additions and 36 deletions

View File

@@ -0,0 +1 @@
// NOT_GENERATED

View File

@@ -0,0 +1,7 @@
// Validation
// ALLOW_FRONTEND_EXCEPTION
// See KT-24323
@Retention(AnnotationRetention.RUNTIME /* ) was removed */
annotation class Validation()