Skip to content

DDC: JS-Interop tearoffs cause type errors #32370

Closed
@matanlurey

Description

@matanlurey

I had code like the following:

sink.stream.listen(worker.postMessage);

... and had to change it to the following to get it to work/not error out:

sink.stream.listen((m) => worker.postMessage(m));

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-duplicateClosed in favor of an existing reportweb-js-interopIssues that impact all js interop

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions