defmethod asdf:source-file-type does not work anymore
Bug #610717 reported by
mugrido
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ASDF |
Fix Released
|
Low
|
Unassigned |
Bug Description
Trying to define different file types (e.g., "cl") used to work defining the corresponding "defmethod asdf:source-
(defclass dummy-file (asdf:cl-
((type :initform "cl")))
(asdf:defsystem name-of-system
:default-
...
To post a comment you must log in.
Can you clarify why you think that this is a bug?
Is it that the signature for SOURCE-FILE-TYPE has changed:
(defgeneric source-file-type (component system))
Yes, now you need to use the TYPE initarg on source-file subtypes, which is retrieved by the reader method source- file-explicit- type. (Actually, Fare, if you look at this, is there some reason this is an accessor instead of a reader? It's only ever used as a reader, and I can't imagine we want people mutating this slot.)
I'm inclined to dismiss this as not a bug.