referenceFound(tree, name) {
    if (this.scope.getBinding(tree)) return;
    if (!(name in this.global_)) {
      this.reporter.reportError(tree.location, `${name} is not defined`);
    }
  }
Override to report an error instead of adding the reference to the scope.