core.typed

I believe clojure.core/reset! has the wrong return type

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:
    core.typed 0.2.19

Description

The doc for reset! indicates that it returns the new value, which means, I believe, that the return type of reset! should be w instead of r.

Activity

Hide
Ambrose Bonnaire-Sergeant added a comment -

Yes, I think you're right. Thanks.

Show
Ambrose Bonnaire-Sergeant added a comment - Yes, I think you're right. Thanks.
Ambrose Bonnaire-Sergeant made changes -
Field Original Value New Value
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Ambrose Bonnaire-Sergeant made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: