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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: