-
Notifications
You must be signed in to change notification settings - Fork 56
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
Unsupported operation: Cannot add to an unmodifiable list in build.dart scripts #168
Comments
I have retracted bad version https://pub.dev/packages/native_assets_cli/versions/0.3.1 Please bump the version to v0.3.2 when addressing this @parlough. |
Sorry about that. I'm taking a look now. |
The issue was not caught due to the packages depending on each through through pub rather than as path dependencies. It was the For extra validation, it might make sense to run the tests for |
Ah yes, this is a known issue: |
@parlough it seems we're running into unmodifiable list errors being thrown in various places because the default values for arguments are now not modifiable. Could you please submit a PR to make the defaults modifiable again (and test it with unit tests).
I'm not sure why this was not caught by the CI earlier. 🙈
Originally posted by @dcharkes in #161 (comment)
Also failing on roll into Dart SDK: https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-linux-debug/18536/overview
The text was updated successfully, but these errors were encountered: