Skip to content

Minor errors in 3.0 binary format #2041

@conrad-watt

Description

@conrad-watt
  1. The third (recursive) case of the binary definition of sN should have i:s instead of i:u

  1. (arguable?) The module binary definition uses * everywhere for all the section lists, but the typeid and code sections should have a distinguished arity to make in unambiguous that they must have the same number of entries as each other (while other sections are allowed to have different sizes) - 2.0 used n.

These were found while hand-mechanising part of the binary format in Isabelle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions