Skip to content

Review handling of fixed-length types and Type.size_of #5

@craigfe

Description

@craigfe

Type.size_of currently behaves oddly in the case where it is passed:

  • a representation of a fixed-length type; and
  • a value that does not have that length.

We should decide on a consistent strategy for dealing with these cases. See discussion in mirage/irmin#1030 (comment).

(Originally reported at mirage/irmin#1037.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions