Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(workerbee): Updated stream_channel version contraints #5789

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tyllark
Copy link
Member

@tyllark tyllark commented Dec 26, 2024

Description of changes:
Currently MessagePortChannel uses StreamChannelMixin as a Mixin, as of Dart SDK 3.0 classes need to declare if they support Mixins, which StreamChannelMixin does and is further confirmed in this issue.

Since stream_channel 2.1.3 Updates the Dart SDK to 3.3 (from 2.19) I've added a version constraint to prevent build runner from failing.

[SEVERE] build_web_compilers:entrypoint on lib/src/worker/workers.release.dart:
ExitCode:1
StdOut:
org-dartlang-app:///packages/worker_bee/src/js/message_port_channel.dart@614+1:
Error: The class 'StreamChannelMixin' can't be used as a mixin because it isn't a mixin class nor a mixin.
Error: Compilation failed.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@tyllark tyllark requested a review from a team as a code owner December 26, 2024 19:22
ekjotmultani
ekjotmultani previously approved these changes Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants