Skip to content

Improve error message for arity mismatch #230

Closed

Description

@jfbastien

I'm running test pr44942.c.s.wast from https://storage.googleapis.com/wasm-llvm/builds/git/wasm-torture-s2wasm-2718.tbz2 and the error message is just arity mismatch. It would be nice to also know which function (test1 in this case) and the declared parameter count versus how many arguments were given.

That's a bug in the toolchain, I'll fix it :-)

FWIW I just did something similar here:
WebAssembly/binaryen@4044cbd
But ocaml makes me sad :)

Activity

  1. modified the milestone: Meta on Jul 8, 2016
  2. rossberg commented on Oct 26, 2016

    @rossberg
    Member

    That behaviour has been gone for some time.

  3. added a commit that references this issue on Nov 4, 2021
    c1dc9b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions