core.typed

incorrect optional keyword lookup in complete HMaps

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: 0.2
  • Fix Version/s: 0.2
  • Component/s: Core type system
  • Labels:
  • Environment:
    Clojure 1.6.0 on OSX 10.10
  • Patch:
    Code and Test

Description

Problem

The snippet

(t/cf (:name (t/ann-form {:name "hi"} (t/HMap :optional {:name String} :complete? true))))

returns nil when it probably should return (t/U String nil)

Commit:
1. e27143
2. f3713b
Release: 0.2.79

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: