src/*.lisp: Fix declared slot types.
[sod] / src / frontend.lisp
index 0336d1a..68c8a96 100644 (file)
@@ -7,7 +7,7 @@
 
 ;;;----- Licensing notice ---------------------------------------------------
 ;;;
-;;; This file is part of the Sensble Object Design, an object system for C.
+;;; This file is part of the Sensible Object Design, an object system for C.
 ;;;
 ;;; SOD is free software; you can redistribute it and/or modify
 ;;; it under the terms of the GNU General Public License as published by
                                             reason))
                           nil)))))
 
+             ;; If there are no output types then there's nothing to do.
+             (unless output-reasons
+               (error "No output types given: nothing to do"))
+
              ;; If we're writing the builtin module then now seems like a
              ;; good time to do that.
              (when builtinsp