1 ;;;; miscellaneous side-effectful tests of the MOP
3 ;;;; This software is part of the SBCL system. See the README file for
6 ;;;; While most of SBCL is derived from the CMU CL system, the test
7 ;;;; files (like this one) were written from scratch after the fork
10 ;;;; This software is in the public domain and is provided with
11 ;;;; absolutely no warranty. See the COPYING and CREDITS files for
12 ;;;; more information.
14 ;;; this file attempts to test the computation of final discriminating
15 ;;; functions for slot-valuish generic functions in the presence of
16 ;;; large hierarchies of slot definitions with a forward-referenced
17 ;;; superclass. (This used to fail in cache-filling code: see reports
18 ;;; from Levente Mészáros sbcl-devel 2006-04-19)
27 (defclass dwim-slot-definition
28 (standard-slot-definition)
31 (defclass dwim-direct-slot-definition
32 (standard-direct-slot-definition dwim-slot-definition)
35 (defclass dwim-effective-slot-definition
36 (extra-effective-slot-definition
37 standard-effective-slot-definition dwim-slot-definition)
39 (defclass dwim-attribute-slot-definition
40 (dwim-slot-definition)
43 (defclass dwim-attribute-effective-slot-definition
44 (dwim-effective-slot-definition dwim-attribute-slot-definition)
47 (defclass dwim-attribute-direct-slot-definition
48 (dwim-direct-slot-definition dwim-attribute-slot-definition)
51 (defclass extra-effective-slot-definition ()