From 51ce550836e198ec3779cf7abe0794d787a0553f Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 25 Apr 2003 00:58:21 +0000 Subject: [PATCH] Fix bug: RECORD-TYPE-DISPATCH-TAG must be an absolute reference. --- v7/src/runtime/defstr.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/defstr.scm b/v7/src/runtime/defstr.scm index b41c5959e..df4bdb043 100644 --- a/v7/src/runtime/defstr.scm +++ b/v7/src/runtime/defstr.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: defstr.scm,v 14.54 2003/03/14 20:11:37 cph Exp $ +$Id: defstr.scm,v 14.55 2003/04/25 00:58:21 cph Exp $ Copyright 1987,1988,1989,1990,1991,1992 Massachusetts Institute of Technology Copyright 1993,1994,1995,1996,1997,2000 Massachusetts Institute of Technology @@ -755,7 +755,9 @@ differences: (case (structure/physical-type structure) ((RECORD) `((DEFINE ,predicate-name - (LET ((TAG (RECORD-TYPE-DISPATCH-TAG ,tag-expression))) + (LET ((TAG + (,(absolute 'RECORD-TYPE-DISPATCH-TAG context) + ,tag-expression))) (NAMED-LAMBDA (,predicate-name OBJECT) (AND (,(absolute '%RECORD? context) OBJECT) (,(absolute 'EQ? context) -- 2.25.1