-
Notifications
You must be signed in to change notification settings - Fork 13
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
upgrade to Dart 3 #990
Comments
I've been running into massive trouble with getting
Then I noticed this: https://github.com/Workiva/over_react/blob/master/pubspec.yaml, with the line So it may be that OverReact simply doesn't support Dart 3 yet. I did find this: dart-lang/sdk#55911 (comment), where they say
Indeed, we have I'm a bit confused why we don't just get the much more straightforward dependency error that we have |
I started to work on this in a branch, but I've since deleted the branch, since as my above comment says, we might have to wait for OverReact to upgrade to Dart 3. I also noticed some errors in the dev branch (as of Sept 13, 2024) that had to do with not fully migrating to null safety. I accidentally left the comment It should actually be good now that I fixed those errors, but I don't want to let the Dart 3 migration branch get more and more out of sync with dev. So I just put some of the Dart 3 compatible changes in dev directly (mostly switching a few abstract classes to mixins to deal with this issue), and hopefully it will be straightforward to migrate to Dart 3 when OverReact updates. |
Looks like OverReact officially supports Dart 3 now: https://pub.dev/packages/over_react/changelog But let's look at the comments here to see if there is another issue we'll need to confront when upgrading, perhaps it was not due to OverReact's version upper bounds: Workiva/over_react#947 (comment) |
…e-to-dart-3 Fixes #990 - Upgrade to Dart 3
Now that #419 is done (migrating to null safety mode using the latest Dart 2 version 2.19.6), that is the major difficulty in upgrading to Dart 3. But there still may be some issues since it's not backwards compatible. Follow the migration guide here:
https://dart.dev/resources/dart-3-migration
This issue is just just about the bare minimum to make scadnano work under Dart 3. Taking advantage of new features, e.g., records will be separate issues.
The text was updated successfully, but these errors were encountered: