Skip to content

module.getMemorySegmentInfoByIndex is not a function #104

@lastmjs

Description

@lastmjs

I just updated from binaryen from version 116.0.0 to 123.0.0. I have not changed any of my source code. I now get this error:

module.getMemorySegmentInfoByIndex is not a function

binaryen's index.d.ts file lists this function as available, so I have no TypeScript errors. But when I log my created module object, I do not see getMemorySegmentInfoByIndex. I do however see getMemorySegmentInfo.

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