Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Merge null safety branch into master #56

Merged
merged 5 commits into from
Jun 10, 2020
Merged

Merge null safety branch into master #56

merged 5 commits into from
Jun 10, 2020

Conversation

jakemac53
Copy link
Contributor

I think it is reasonable to just merge this one, and then the SDK can more safely depend on it.

This package is unlikely to get non-nnbd related commits before we release.

Primarily this is just removing a bunch of dynamic params and converting them to Object, and then removing some of the explicit tests around null args that are no longer valid statically in the test.

Note that the runtime argument errors are still present, and I left the tests in for argumentErrorTest which effectively validates the non-opted in users calling these functions still get the same behavior.

We could restore some of the other tests that I deleted to do a similar thing, if we think its worth while.
@jakemac53 jakemac53 requested review from kevmoo and rakudrama June 4, 2020 22:36
@kevmoo
Copy link
Contributor

kevmoo commented Jun 4, 2020

To fix CI, update CI SDK be/raw/latest

then use pub run --enable-experiment=non-nullable test

@kevmoo
Copy link
Contributor

kevmoo commented Jun 4, 2020

also need to enable the expeeriment w/ analyzer CLI

@jakemac53
Copy link
Contributor Author

Looks like we need to migrate a few more packages for web tests to work

@jakemac53
Copy link
Contributor Author

And this is probably a package where that is important haha

@kevmoo
Copy link
Contributor

kevmoo commented Jun 10, 2020

Wonder why travis status isn't showing up (for me) https://travis-ci.org/github/dart-lang/fixnum/builds/696895050

@kevmoo
Copy link
Contributor

kevmoo commented Jun 10, 2020

there it is!

@jakemac53
Copy link
Contributor Author

@kevmoo I can haz lgtm?

@jakemac53 jakemac53 requested a review from natebosch June 10, 2020 15:44
Copy link
Contributor

@kevmoo kevmoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: 🤘

@jakemac53 jakemac53 merged commit 9b38f49 into master Jun 10, 2020
@jakemac53 jakemac53 deleted the null_safety branch June 10, 2020 15:47
mosuem pushed a commit to dart-lang/core that referenced this pull request Oct 15, 2024
* migrate fixnum to null safety (dart-archive/fixnum#55)

Primarily this is just removing a bunch of dynamic params and converting them to Object, and then removing some of the explicit tests around null args that are no longer valid statically in the test.

Note that the runtime argument errors are still present, and I left the tests in for argumentErrorTest which effectively validates the non-opted in users calling these functions still get the same behavior.

We could restore some of the other tests that I deleted to do a similar thing, if we think its worth while.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants