Skip to content

Keyword as function ignoring default value in exceptional cases. #997

Closed
@mitch-kyle

Description

@mitch-kyle

Using a keyword as a function is ignoring the default value for certain types.

(:foo nil :bar)
;; or
(:foo #py {} :bar)

;; Expected
=> :bar

;; Actual
=> nil

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue-type:bugSomething isn't workinglangIssue pertaining to Basilisp language modules

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions