<< Back to previous view

[CLJS-598] (js->clj nil) => Type Error Created: 25/Sep/13  Updated: 26/Sep/13  Resolved: 26/Sep/13

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Minor
Reporter: Michael O. Church Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: bug
Environment:

This happened both on my local ClojureScript and in the online version: http://himera.herokuapp.com/index.html .


Attachments: Text File 0001-Argument-order-fix-in-js-clj.patch    
Patch: Code

 Description   

(js->clj nil) throws a type error instead of returning nil. This is because the satisfies? function is being used with the wrong argument order.



 Comments   
Comment by David Nolen [ 26/Sep/13 9:52 AM ]

fixed, http://github.com/clojure/clojurescript/commit/9f5df0965957e012d4ec86944abba056ccd8ecc2

Generated at Tue Sep 16 18:35:37 CDT 2014 using JIRA 4.4#649-r158309.