Skip to content

Missing test for elem segment containing global.get of imported funcref #1640

Description

@sbc100

From the wabt bug tracker: WebAssembly/wabt#2201

This should work according to the spec, but currently doesn't under wabt, and its not covered by the spec tests (AFAICT):

(module
  (import "m" "f" (global funcref))
  (table 0 10 funcref)
  (elem (offset (i32.const 0)) funcref (global.get 0))
)

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