better error messages for bad defrecord calls

Description

defrecord could tell you if, e.g., you didn't specify an interface before leaping into method bodies.

See http://groups.google.com/group/clojure/browse_thread/thread/f52f90954edd8b09

Environment

None

Activity

Show:

importAugust 24, 2010 at 6:28 AM

Comment made by: importer

stu said: This could be fixed with an assert-valid-defrecord call in core_deftype, similar to assert-valid-fdecl in core.clj. Such a function would also be a place to hang other defrecord error messages.

importAugust 24, 2010 at 6:28 AM

Comment made by: importer

Converted from http://www.assembla.com/spaces/clojure/tickets/405

Details

Assignee

Reporter

Approval

Triaged

Priority

Created July 20, 2010 at 9:53 PM
Updated December 14, 2015 at 9:23 PM