ClojureScript

Regression: keyword applied to string throws a protocol lookup exception instead of returning nil

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    0.0-1806

Description

Before 0.0-1806 keyword applied to a javascript string would return nil. In 0.0-1806 it throws a protocol lookup exception. Clojure returns nil when applying a keyword to a string.

Correct behaviour: (:test "test") => nil

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: