Skip to content

Dart 2.8.0-dev.17.0 breaks Dart Sass Node.js tests #41259

@nex3

Description

@nex3

I haven't had time to dive in and find a minimal reproduction, but Dart Sass's Node.js tests started failing with the release of Dart 2.8.0-dev.17.0 with errors like the following:

  NoSuchMethodError: method not found: 'get$$call' (t2.get$$call is not a function)
  test/node_api/value/null_test.dart 23:47  main.<fn>.<fn>

See this Travis job for an example of the failure, and this Travis job for an example of a successful run with Dart 2.8.0-dev.16.0.

To reproduce:

$ git clone git://github.com/sass/dart-sass
$ cd dart-sass
$ pub get
$ pub run grinder before-test
$ pub run test test/node_api/value/null_test.dart -n "from a parameter is instanceof Null"

You can inspect the generated JS code in build/npm/sass.dart.js and regenerate it with pub run grinder pkg-js-dev.

This is blocking Dart Sass's release process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-dart-sasslegacy-area-front-endLegacy: Use area-dart-model instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions