Commit 92609f82 authored by Vladimir Sedach's avatar Vladimir Sedach
Browse files

ps-js intermediate representation package no longer uses Common Lisp symbols.

parent af5bddfc
......@@ -2,11 +2,7 @@
(in-readtable :parenscript)
(defpackage #:ps-js
(:shadowing-import-from #:cl
#:+
#:-
#:*
#:/)
(:use)
(:export
;; operators
;; arithmetic
......
......@@ -3574,6 +3574,19 @@ function bar() {
};
var baz = 2;")
(test-ps-js js-ir-package-unique-symbols
(loop :for i :from 0 :below 5 :do
(let ((block (elt blocks i)))
(foo block)
(lambda () nil)))
"for (var i = 0; i < 5; i += 1) {
var block = blocks[i];
foo(block);
function () {
return null;
};
};")
;;; broken
;; (test-ps-js let-defun-toplevel
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment