Clojure

Unordered literals does not preserve left-to-right evaluation of arguments

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: Release 1.4
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Given: (defn f [x] (println x) x)

#{(f 2) (f 1)}

Prints:

1
2

But expected would be:

2
1

This issue is related to CLJS-288

Activity

Brandon Bloom made changes -
Field Original Value New Value
Summary Unordered literals does no preserve left-to-right evaluation of arguments Unordered literals does not preserve left-to-right evaluation of arguments

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: