mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
Remove "nnbd" nomenclature from the migration tool
Change-Id: I39a9593d0a89ba3cc9c5ca9e7f5482cce1f98109 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/247621 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
parent
a5d2b9156e
commit
7b001746fd
5 changed files with 2569 additions and 2567 deletions
|
@ -151,8 +151,8 @@ class NullabilityFixDescription {
|
|||
|
||||
/// An unnecessary downcast has been discarded.
|
||||
static const removeLanguageVersionComment = NullabilityFixDescription._(
|
||||
appliedMessage: 'Removed language version comment so that NNBD features '
|
||||
'will be allowed in this file',
|
||||
appliedMessage: 'Removed language version comment so that null safety '
|
||||
'features will be allowed in this file',
|
||||
kind: NullabilityFixKind.removeLanguageVersionComment,
|
||||
);
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -289,7 +289,8 @@ check its output for a fresh URL, and use that URL to perform your migration.
|
|||
Uri getGitHubErrorUri(
|
||||
String description, Object? exception, Object? stackTrace) =>
|
||||
Uri.https('github.com', 'dart-lang/sdk/issues/new', {
|
||||
'title': 'Customer-reported issue with NNBD migration tool: $description',
|
||||
'title': 'Customer-reported issue with null safety migration tool: '
|
||||
'$description',
|
||||
'labels': 'area-analyzer,analyzer-nnbd-migration,type-bug',
|
||||
'body': '''
|
||||
$description
|
||||
|
@ -319,7 +320,7 @@ $stackTrace
|
|||
/// pre-populating some labels and a body template.
|
||||
Uri getGitHubProblemUri() =>
|
||||
Uri.https('github.com', 'dart-lang/sdk/issues/new', {
|
||||
'title': 'Customer-reported issue with NNBD migration tool',
|
||||
'title': 'Customer-reported issue with null safety migration tool',
|
||||
'labels': 'area-analyzer,analyzer-nnbd-migration,type-bug',
|
||||
'body': '''
|
||||
#### Steps to reproduce
|
||||
|
|
|
@ -7,8 +7,9 @@ import 'package:nnbd_migration/migration_cli.dart';
|
|||
const String migratedAlready =
|
||||
'All sources appear to be already migrated. Nothing to do.';
|
||||
const String nnbdExperimentOff =
|
||||
'Analyzer seems to need the nnbd experiment on in the SDK.';
|
||||
const String sdkNnbdOff = 'Analysis seems to have an SDK without NNBD enabled.';
|
||||
'Analyzer seems to need the null safety experiment on in the SDK.';
|
||||
const String sdkNnbdOff =
|
||||
'Analysis seems to have an SDK without null safety enabled.';
|
||||
const String sdkPathEnvironmentVariableSet =
|
||||
r'Note: $SDK_PATH environment variable is set and may point to outdated '
|
||||
'dart:core sources';
|
||||
|
|
|
@ -320,7 +320,7 @@ class PreviewSite extends Site
|
|||
/// NNBD migration.
|
||||
PreviewSite(
|
||||
this.migrationState, this.rerunFunction, this.applyHook, this.logger)
|
||||
: super('NNBD Migration Preview') {
|
||||
: super('Null Safety Migration Preview') {
|
||||
reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue