FuncDeclaration.checkClosure

Check that the function contains any closure. If it's @nogc, report suitable errors. This is mostly consistent with FuncDeclaration::needsClosure().

class FuncDeclaration
extern (C++) final
bool
checkClosure
()

Return Value

Type: bool

true if any errors occur.

Meta