Version 3.1.5,
Example system definition:
(defsystem :s3 :components ((cl-user::cons "file-name-does-not-matter") )) ;; eof
I try to load it, it says:
"Error while trying to load definition for system s3 from pathname c:/clcon/lp/test/s3.asd: don't recognize component type CONS"
Then I try to load it another time, it says:
T
This is an issue with how ASDF parses systems, one of the few parts that ASDF still does mostly the same way that ASDF 1 did. Can you open a bug on launchpad? You're not the first to mention this bug in error handling.
I suppose the correct thing to do without a big refactoring would be to either have a successfully-parsed-p flag in the system that is checked at opportune moments, or to have a unwind-protect somewhere to de-register the system if it was incorrectly parsed.
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org Your conscience never stops you from doing anything. It just stops you from enjoying it.
On Fri, Jan 8, 2016 at 6:03 PM, 73budden . budden73@gmail.com wrote:
Version 3.1.5,
Example system definition:
(defsystem :s3 :components ((cl-user::cons "file-name-does-not-matter") )) ;; eof
I try to load it, it says:
"Error while trying to load definition for system s3 from pathname c:/clcon/lp/test/s3.asd: don't recognize component type CONS"
Then I try to load it another time, it says:
T
Hi! I will open the bug, but first of all there seem to be another issue:
My system :s3 :defsystem-depends-on :gro.
I touch some file belonging to :gro. Then I (asdf:load-system :s3). Gro is not recompiled.
Is this the same issue or another one?
Should I combine both into one bug report or open two separate bugs? Or is this a feature? I didn't find its description in the manual.
Hi!
I added new bugs
https://bugs.launchpad.net/asdf/+bug/1532584 https://bugs.launchpad.net/asdf/+bug/1532586
and reported that bug affects me: https://bugs.launchpad.net/asdf/+bug/1500578