<< Back to previous view

[CLJS-595] Keyword used as function do not return default value when first argument does not satisfy ILookup Created: 22/Sep/13  Updated: 24/Sep/13  Resolved: 24/Sep/13

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

Type: Defect Priority: Minor
Reporter: Julien Eluard Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None

Attachments: Text File cljs_ticket_595.patch    


In Clojure, (:test "" 1) returns 1 while in ClojureScript it returns nil. Note that (get "" :test 1) returns 1 in both environment.

Comment by David Nolen [ 24/Sep/13 7:21 PM ]

fixed, http://github.com/clojure/clojurescript/commit/a1fa14b8786d5a827980bf83d81f7ebb6b13f249

Generated at Sun Oct 22 14:14:27 CDT 2017 using JIRA 4.4#649-r158309.