File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 444444
445445(declare apply )
446446
447- (defn ^array make-array
447+ (defn make-array
448448 " Construct a JavaScript array of the specified dimensions. Accepts ignored
449449 type argument for compatibility with Clojure. Note that there is no efficient
450450 way to allocate multi-dimensional arrays in JavaScript; as such, this function
Original file line number Diff line number Diff line change 318318 internal implementation uses standard JS APIs"
319319 (is (= 'boolean
320320 (env/with-compiler-env test-cenv
321- (:tag (analyze test-env '(array? (array )))))))))
321+ (:tag (analyze test-env '(array? (array )))))))
322+ (is (= 'array
323+ (env/with-compiler-env test-cenv
324+ (:tag (analyze test-env '(make-array js/String. 10 ))))))))
322325
323326(deftest test-always-true-if
324327 (is (= (env/with-compiler-env test-cenv
You can’t perform that action at this time.
0 commit comments