[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


  Posted-Date: Thu, 30 Mar 89 11:45:43 PST
  Message-Id: <8903301945.AA25251@vaxa.isi.edu>
  Received: from LOCALHOST by vaxa.isi.edu (5.59/5.51)
  	id AA25251; Thu, 30 Mar 89 11:45:48 PST
  To: commonloops.pa@xerox.com
  From: goldman@vaxa.isi.edu
  Subject: WITH-SLOTS
  Cc: kanderso@dino.bbn.com
  Date: Thu, 30 Mar 89 11:45:43 PST
  Sender: goldman@vaxa.isi.edu
  Are there ANY cases in which PCL's WITH-SLOTS macro respects inner
  lexical bindings of symbols that are used in the list of slots?

Unfortunately, no.
  If you look at EXPAND-WITH-SLOTS-INTERNAL, there is no apparent check
  of the lexical context before transforming a symbol. (There is not
  even a parameter of EXPAND-WITH-SLOTS-INTERNAL to represent the lexical
  context, although concievably that is being kept around in special variables
  by the code walker).

I presume checks for lexical bindings should be added.