aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ravanan/javascript.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ravanan/javascript.scm b/ravanan/javascript.scm
index 47846df..5ee7cc8 100644
--- a/ravanan/javascript.scm
+++ b/ravanan/javascript.scm
@@ -111,7 +111,7 @@ keys @code{\"inputs\"}, @code{\"self\"} and @code{\"runtime\"}.
;; Evaluate immediately.
(apply json-ref context symbol segments)
;; Compile to a G-expression that evaluates expression.
- #~(json-ref #$symbol #$@segments))))
+ #~(json-ref #$(string->symbol symbol) #$@segments))))
;; Perhaps this is a more complex javascript expression.
(#f
(evaluate-using-node expression context expression-lib))))