Skip to content

Test runner should distinguish different web backends #56654

Open
@mkustermann

Description

@mkustermann

Our test framework has the ability to check for errors on specific backends, for example it allows this

  check(0x7FFF00001111F000);
  check(0x7FFF00001111FC00);
  check(0x7FFF00001111FE00);
  //    ^
  // [web] The integer literal 0x7FFF00001111FE00 can't be represented exactly in JavaScript.

This test - testing that on web one gets an error/warning - is only really valid for our to-JavaScript compilers.

In dart2wasm we have wrap-around int64 semantics just like the VM.

=> So we'd want to split up [web] into [web_js] and [web_wasm].

/cc @athomas @munificent

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testCross-cutting test issues (use area- labels for specific failures; not used for package:test).type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions