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

Adjust links to dart.dev class modifier documentation #3476

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions lib/src/model/language_feature.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,12 @@ const Map<String, String> _featureDescriptions = {
};

const Map<String, String> _featureUrls = {
// TODO(jcollins-g): link to dart.dev for all links once documentation is
// available.
'sealed':
'https://github.com/dart-lang/language/blob/main/accepted/future-releases/sealed-types/feature-specification.md#sealed-types',
'abstract': 'https://dart.dev/language/classes#abstract-classes',
'base':
'https://github.com/dart-lang/language/blob/main/accepted/future-releases/class-modifiers/feature-specification.md#class-modifiers',
'interface':
'https://github.com/dart-lang/language/blob/main/accepted/future-releases/class-modifiers/feature-specification.md#class-modifiers',
'final':
'https://github.com/dart-lang/language/blob/main/accepted/future-releases/class-modifiers/feature-specification.md#class-modifiers',
'mixin':
'https://github.com/dart-lang/language/blob/main/accepted/future-releases/class-modifiers/feature-specification.md#class-modifiers',
'sealed': 'https://dart.dev/language/class-modifiers#sealed',
'abstract': 'https://dart.dev/language/class-modifiers#abstract',
'base': 'https://dart.dev/language/class-modifiers#base',
'interface': 'https://dart.dev/language/class-modifiers#interface',
'final': 'https://dart.dev/language/class-modifiers#final',
'mixin': 'https://dart.dev/language/mixins',
};

/// An abstraction for a language feature; used to render tags ('chips') to
Expand Down