Skip to content

anything with fround doesn't validate #125

@charlieroberts

Description

@charlieroberts

Example:

function helloWorld(stdlib, foreign, heap) {
  "use asm";
  
  function output() {
    var test = fround(0);
    
    return fround(test);
  }
  
  return output;
}

... gives errors for both invalid return type annotation and invalid declaration of a local variable. They validate / compile fine in Firefox.

Thanks for any thoughts on this... I'm a bit confused as I'm creating much more complex functions that validate fine in FF, but even the simplest ones fail with asm.js (like the example here). I'd really like to use asm.js for unit tests in Node.

  • Charlie

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