Expression.checkPurity

Calling function f. Check the purity, i.e. if we're in a pure function we can only call other pure functions. Returns true if error occurs.

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

Meta