Skip to content

Return a Word64 from loadRegionBaseOffset #518

@langston-barrett

Description

@langston-barrett

This function returns an (unbounded) Integer:

loadRegionBaseOffset :: LoadOptions -> Integer

but it does so by converting a Word64:

LoadOptions { loadOffset :: Maybe Word64

which itself needs to be converted back to a Word64 to be used with functions like memSegment. It should instead return what it's got, namely, a Word64.

This would be a breaking change.

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