ruricolist / spinneret

Common Lisp HTML5 generator
MIT License
369 stars 26 forks source link

Fixed spinneret/cl-markdown loading from ASDF package inferred systems. #27

Closed svetlyak40wt closed 5 years ago

svetlyak40wt commented 5 years ago

Previously, some lisps like SBCL raise this error:

debugger invoked on a SB-KERNEL:SIMPLE-PACKAGE-ERROR in thread
#<THREAD "main thread" RUNNING {10005505B3}>:
  The name "SPINNERET/CL-MARKDOWN" does not designate any package.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

when you did:

(:import-from #:spinneret/cl-markdown)

Cause of this behavior, it that nonetheless ASDF has loaded spinneret/cl-markdown system, the Lisp itself was unable to find a corresponding package.

You might suppose that: "Hey you can just add a "spinneret/cl-markdown" to your system's ASD file!" But this does not work for some reason even when you specify :serial t in the system's definition.

ruricolist commented 5 years ago

Merged, thanks.