Expression.checkPurity

Accessing variable v. Check for purity and safety violations. Returns true if error occurs.

  1. bool checkPurity(Scope* sc, FuncDeclaration f)
  2. bool checkPurity(Scope* sc, VarDeclaration v)
    class Expression
    extern (D) final
    bool
    checkPurity
Suggestion Box / Bug Report