Module.checkImportDeprecation

Print deprecation warning if we're deprecated, when this module is imported from scope sc.

class Module
void
checkImportDeprecation
(
const ref Loc loc
,)

Parameters

sc
Type: Scope*

the scope into which we are imported

loc
Type: Loc

the location of the import statement

Meta