#25 ANSI-TEST: FIND-CLASS tests too strict

closed-accepted
ansi-test (7)
5
2001-12-15
2001-08-23
Anonymous
No

In clos.lisp there are some tests that compare

(eq (class-of 10) (find-class 'integer))

and similarly for string, vector etc. Rather than
testing for EQ and conditionalizing on the
implementation, I think it would be be better to use
SUBCLASSP instead of EQ.

-- Eric Marsden

Discussion

  • Sam Steingold

    Sam Steingold - 2001-12-04
    • labels: --> ansi-test
    • assigned_to: nobody --> pvaneynd
     
  • Peter Van Eynde

    Peter Van Eynde - 2001-12-15
    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks