Changeset 4692


Ignore:
Timestamp:
11/11/03 17:08:45 (18 years ago)
Author:
piso
Message:

SUBTYPEP: added test for (eq type1 type2) at top of function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/subtypep.lisp

    r4361 r4692  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: subtypep.lisp,v 1.21 2003-10-14 02:31:20 piso Exp $
     4;;; $Id: subtypep.lisp,v 1.22 2003-11-11 17:08:45 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    215215
    216216(defun subtypep (type1 type2)
    217   (when (or (null type1) (eq type2 t))
     217  (when (or (eq type1 type2)
     218            (null type1)
     219            (eq type2 t))
    218220    (return-from subtypep (values t t)))
    219221  (let* ((c1 (classp type1)) (c2 (classp type2))
Note: See TracChangeset for help on using the changeset viewer.