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

Display null safety tag only on migrated packages #2411

Merged
merged 4 commits into from
Nov 2, 2020

Conversation

jcollins-g
Copy link
Contributor

Fixes #2403. Filing #2410 for the port to AnalysisContextCollection originally anticipated to solve this, and #2409 for removing the null safety tag on individual symbols.

In addition to the end-to-end test, spot checked with PACKAGE_NAME=collection PACKAGE_VERSION=1.15.0-nullsafety.4 grind serve-pub-package and PACKAGE_NAME=collection grind serve-pub-package and verified pages appeared correctly.

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Oct 30, 2020
import 'package:dartdoc/src/quiver.dart' as quiver;
import 'package:dartdoc/src/package_config_provider.dart';
import 'package:dartdoc/src/package_meta.dart'
show PackageMeta, PackageMetaProvider;
import 'package:dartdoc/src/render/renderer_factory.dart';
import 'package:dartdoc/src/special_elements.dart';
import 'package:meta/meta.dart';
// TODO(jcollins-g): do not directly import path, use ResourceProvider instead
Copy link
Member

Choose a reason for hiding this comment

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

Ooh good call. I had an idea in my head to grep for path imports and clean them up.

@jcollins-g jcollins-g mentioned this pull request Nov 2, 2020
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 91.559% when pulling 6e9c1b9 on fix-null-safety-tag-2 into 0ac0b48 on master.

@jcollins-g jcollins-g merged commit b776fd7 into master Nov 2, 2020
@jcollins-g jcollins-g deleted the fix-null-safety-tag-2 branch August 11, 2021 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

null-safety annotations on non-migrated packages
4 participants