-
Notifications
You must be signed in to change notification settings - Fork 27
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
NNBD migration #531
Comments
Looking forward to this, now that it is in beta.
|
@mannprerak2 NNBD is in beta. We've been publishing pre-releases, see for example https://pub.dev/packages/ffi/versions. So we can go ahead and start on this. |
We still have 3 dependencies which haven't yet migrated to null-safety:
The following packages cannot be migrated due to failure in version resolving caused by |
cc @jonasfj for |
Update:
@mannprerak2 we can actually address generating null-safe code (maybe behind an option for now) without migrating this repo itself to NNBD. That way people can use this package in a standalone way to generate NNBD safe code for their NNBD safe packages. |
@dcharkes adding this behind an option seems a little redundant to me (adding this option and then later on removing it), if the users have to be using this as a standalone, perhaps we can simply do a partial migration? |
Shouldn't you be able to do the migration, with a couple of nullchecks/asserts ( |
@vaind We can do a partial migration. dependencies:
ffi: ^0.2.0-nullsafety.1
yaml: ^3.0.0-nullsafety.0
meta: ^1.3.0-nullsafety.6
path: ^1.8.0-nullsafety.3
quiver: ^3.0.0-nullsafety.2
args: ^1.6.0 # Restricted by - test->analyzer->args
logging: ^0.11.4 # Restricted by - test->coverage->logging
cli_util: ^0.2.0 # Restricted by - test->analyzer->cli_util
glob: ^1.0.3 # Restricted by - test->analyzer->glob
pub_semver: ^1.4.4 # Restricted by - test->analyzer->pub_semver
dev_dependencies:
pedantic: ^1.10.0-nullsafety.3
test: ^1.16.0-nullsafety.13 |
When NNBD goes to beta, we can start migrating this package, and release a dev version that is null-safe.
See roadmap: https://medium.com/dartlang/announcing-sound-null-safety-defd2216a6f3.
The text was updated successfully, but these errors were encountered: