check

abstract fun CompilerContext.check(declaration: KtDeclaration, descriptor: DeclarationDescriptor, context: DeclarationCheckerContext)