Don't wrap a compiled-expression object in scode-quote.
authorChris Hanson <org/chris-hanson/cph>
Mon, 8 Oct 2018 05:55:24 +0000 (22:55 -0700)
committerChris Hanson <org/chris-hanson/cph>
Mon, 8 Oct 2018 05:55:24 +0000 (22:55 -0700)
It only causes confusion when expecting a bare expression and instead see it as
quoted.

src/runtime/unsyn.scm

index b535b53ffe33e97bcd24401f2a0d40d624f648ac..1269001a63851aa8a37c0835fc4d88d00c8edc87 100644 (file)
@@ -116,7 +116,7 @@ USA.
        ((compiled-expression? object)
         (let ((scode (compiled-expression/scode object)))
           (if (eq? scode object)
-              `(scode-quote ,object)
+              object
               (unsyntax-object environment scode))))
        (else
         object)))