Fix 'No type in binding context for: <some class> from light class generation' exception
#KT-4668 Fixed
This commit is contained in:
@@ -198,6 +198,8 @@ class CodegenAnnotatingVisitor extends JetVisitorVoid {
|
||||
super.visitObjectDeclaration(declaration);
|
||||
}
|
||||
else {
|
||||
if (!filter.shouldProcess(declaration)) return;
|
||||
|
||||
ClassDescriptor classDescriptor = bindingContext.get(CLASS, declaration);
|
||||
// working around a problem with shallow analysis
|
||||
if (classDescriptor == null) return;
|
||||
|
||||
Reference in New Issue
Block a user