]> asedeno.scripts.mit.edu Git - cl-protobufs.git/commitdiff
utilities.lisp: This is how ABCL and XCL do type expansion
authorAlejandro R Sedeño <asedeno@google.com>
Sun, 3 Mar 2013 07:39:10 +0000 (02:39 -0500)
committerAlejandro R Sedeño <asedeno@google.com>
Sun, 3 Mar 2013 19:48:40 +0000 (14:48 -0500)
utilities.lisp

index ff2dc70389b042eb0870d0218aaf545455faed1b..d524371058ec9b1d5901e7fa749bdbbd701eda01 100644 (file)
 
 ;; Type expansion
 (defun type-expand (type)
+  #+(or abcl xcl) (system::expand-deftype type)
   #+allegro (excl:normalize-type type :default type)
   #+ccl (ccl::type-expand type)
   #+clisp (ext:type-expand type)
   #+(or ecl mkcl) (si::expand-deftype type)
   #+lispworks (type:expand-user-type type)
   #+sbcl (sb-ext:typexpand type)
-  #-(or allegro ccl clisp cmu ecl lispworks mkcl sbcl) type)
+  #-(or abcl allegro ccl clisp cmu ecl lispworks mkcl sbcl xcl) type)
 
 
 ;;; Code generation utilities