When a macro like this:

  (defpsmacro blah (x) 'xyz)

... is shadowed by a local macro like this:

  (ps (defun test1 ()
          (macrolet ((blah (x) `(aref data ,x)))
            (when (blah x)
              (setf (blah x) 123)))))

... it's possible to get an inconsistent macroexpansion:

=>

  "function test1() {
      if (data[x]) {
          xyz = 123;
      };
  };

Daniel